ERRORGTFS Schedule notice

An advance-booking rule contains incompatible fields

forbidden_prior_day_booking_field_value
Severity
ERROR
Files to check
1
Report fields
3
Documentation
Curated

Diagnosis

What this notice means

forbidden_prior_day_booking_field_value is an error in a GTFS Schedule validation report: an advance-booking rule contains incompatible fields. Start with booking_rules.txt.

A prior-day booking rule includes fields that are not permitted for that booking type.

Operational effect

Why it matters

Apps cannot interpret the booking deadline consistently.

Scope

Files to check and report fields

Report fieldTypeMeaning
bookingRuleIdstringThe booking_rules.booking_rule_id of the faulty record.
csvRowNumberintegerThe row number of the faulty record.
fieldNamesstringThe names of the forbidden fields comma-separated.

Repair

How to fix it

  1. 1

    Use bookingRuleId, csvRowNumber, and fieldNames to locate the conflicting values in booking_rules.txt.

  2. 2

    If prior-day booking is correct, clear the reported forbidden fields and retain its required day/time deadline. Otherwise correct booking_type and its dependent fields together.

  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