ERRORGTFS Schedule notice

A currency code is not recognized

invalid_currency
Severity
ERROR
Files to check
See report
Report fields
4
Documentation
Curated

Diagnosis

What this notice means

invalid_currency is an error in a GTFS Schedule validation report: a currency code is not recognized. The report row names the file to check.

The reported value is not a valid currency code for this field.

Operational effect

Why it matters

Fare amounts may be displayed or interpreted in the wrong currency.

Scope

Files to check and report fields

Use the file or input resource identified in the report. Check the message and available context fields; runtime failures may not identify a GTFS row.

Report fieldTypeMeaning
csvRowNumberintegerThe row of the faulty record.
fieldNamestringFaulty record's field name.
fieldValuestringFaulty value.
filenamestringThe name of the faulty file.

Repair

How to fix it

  1. 1

    Check the actual currency for the fare and inspect fieldValue.

  2. 2

    Use its ISO 4217 code, such as EUR, instead of a symbol or currency name. Review associated amounts if the previous code was wrong.

  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