ERRORGTFS Schedule notice

A required column is missing from the header

missing_required_column
Severity
ERROR
Files to check
See report
Report fields
2
Documentation
Curated

Diagnosis

What this notice means

The reported file has no column named by fieldName.

Operational effect

Why it matters

The reader cannot obtain required information, even if other columns contain similar data.

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 missing column.
filenamestringThe name of the faulty file.

Repair

How to fix it

  1. 1

    Check the first row of filename for a misspelling or an omitted column.

  2. 2

    Add or correctly rename the column and populate required values in its records. Check whether an earlier CSV-format error distorted 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.

Worked example

Example correction

The source values are already correct; only the field name was misspelled.

Before

stop_id,name,stop_lat,stop_lon
S1,Central,35.17,33.36

After

stop_id,stop_name,stop_lat,stop_lon
S1,Central,35.17,33.36

Illustrative excerpt, not a complete GTFS feed. Keep all other required records and fields.

Sources

References