ERRORGTFS Schedule notice

A multi-agency feed is missing an agency ID

missing_required_agency_id
Severity
ERROR
Files to check
3
Report fields
3
Documentation
Curated

Diagnosis

What this notice means

An agency or a record that must identify its agency has no agency_id in a feed with multiple agencies.

Operational effect

Why it matters

Routes or fares cannot be assigned unambiguously to their operator.

Scope

Files to check and report fields

Report fieldTypeMeaning
agencyNamestringThe agency name if it can be obtained.
csvRowNumberintegerThe row number in the source file where the error occurs.
filenamestringThe name of the file where the error occurs.

Repair

How to fix it

  1. 1

    Use filename and csvRowNumber to locate the missing value.

  2. 2

    Give each agency a unique ID in agency.txt and use the correct existing ID in affected routes or fare records.

  3. 3
    Check the result

    After a repair, rebuild the archive and validate it again. Confirm that the affected records are correct and that no new related notices appeared. A reviewed warning or informational notice may remain when it describes intentional, supported data.

Re-check your feed in the browserFree, no upload for a file you pick.

Sources

References