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 field | Type | Meaning |
|---|---|---|
csvRowNumber | integer | The row of the faulty record. |
fieldName | string | Faulty record's field name. |
fieldValue | string | Faulty value. |
filename | string | The name of the faulty file. |
Repair
How to fix it
- 1
Check the actual currency for the fare and inspect
fieldValue. - 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. - 3Check 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