ERRORGTFS Schedule notice

A color is not a six-digit hexadecimal value

invalid_color
Severity
ERROR
Files to check
See report
Report fields
0
Documentation
Curated

Diagnosis

What this notice means

The reported color does not use the required format, such as 0039A6.

Operational effect

Why it matters

Apps may ignore the color or display an unintended fallback.

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
This notice has no structured context fields.

Repair

How to fix it

  1. 1

    Find fieldName in the reported row.

  2. 2

    Use six hexadecimal digits without #; for example, change #0039A6 to 0039A6. If an optional color is unknown, leave it empty rather than inventing a brand color.

  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

Preserve the intended color while correcting its format.

Before

route_color: #0039A6

After

route_color: 0039A6

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

Sources

References