ERRORGTFS Schedule notice

A column name appears twice

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

Diagnosis

What this notice means

The header row contains the same field name more than once.

Operational effect

Why it matters

A reader cannot reliably determine which column supplies that field's value.

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
fieldNamestringThe name of the faulty field.
filenamestringThe name of the faulty file.
firstIndexintegerIndex of the first occurrence.
secondIndexintegerIndex of the other occurrence.

Repair

How to fix it

  1. 1

    Open the header of the reported filename and compare the columns at firstIndex and secondIndex.

  2. 2

    Merge or remove an accidental duplicate column, or give a mislabeled column its correct GTFS name. Keep every data row aligned with the header.

  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