ERRORGTFS Schedule notice

A same-day booking rule contains incompatible fields

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

Diagnosis

What this notice means

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

A same-day booking rule includes fields that are not allowed for that booking type.

Operational effect

Why it matters

The booking instructions mix different deadline models.

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 fieldNames to find the offending fields in the reported rule.

  2. 2

    Clear incompatible values if same-day booking is correct, or change the booking type and its related fields to match the actual policy.

  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