ERRORGTFS Schedule notice

A fare amount does not match its currency's precision

invalid_currency_amount
Severity
ERROR
Files to check
See report
Report fields
5
Documentation
Curated

Diagnosis

What this notice means

The amount's format does not match the decimal precision expected for the associated currency.

Operational effect

Why it matters

Fare processing may reject the amount or interpret its precision incorrectly.

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.
currencyCodeobjectFaulty record's currency code.
fieldNamestringFaulty record's field name.
fieldValuestringFaulty currency field amount value.
filenamestringThe name of the faulty file.

Repair

How to fix it

  1. 1

    Check the reported currencyCode, amount field, and original fare.

  2. 2

    Format the amount with the currency's required decimal precision and a decimal point. Confirm rounding with the fare source rather than changing the price arbitrarily.

  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