Skip to content

Validator does not detect invalid agency references #2089

@vesameskanen

Description

@vesameskanen

Describe the bug

The data package:
https://drive.google.com/file/d/1eliFeeWPxDZCrsrAtCt460JB88LoRygv/view?usp=sharing

The error is that routes.txt line 1370 refers to agency 1229, which is not included in data. The validator does not give any kind warning of this error, which makes the data unusable for example in the popular OpenTripPlanner routing engine.

Also, validation report says that agencies=0, which is not true.

Steps/Code to Reproduce

Bowse to https://gtfs-validator.mobilitydata.org/ and run the validation for the above linked GTFS package.

Expected Results

Detect all invalid GTFS id references.

Actual Results

Image

Screenshots

No response

Files used

https://drive.google.com/file/d/1eliFeeWPxDZCrsrAtCt460JB88LoRygv/view?usp=sharing

Validator version

https://gtfs-validator.mobilitydata.org/ 3. february 2026

Operating system

macOS

Java version

No response

Additional notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working (crash, a rule has a problem)status: Needs triageApplied to all new issues

    Type

    No type

    Projects

    Status

    Requires investigation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions