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 field | Type | Meaning |
|---|---|---|
bookingRuleId | string | The booking_rules.booking_rule_id of the faulty record. |
csvRowNumber | integer | The row number of the faulty record. |
fieldNames | string | The names of the forbidden fields comma-separated. |
Repair
How to fix it
- 1
Use
bookingRuleId,csvRowNumber, andfieldNamesto locate the conflicting values inbooking_rules.txt. - 2
If prior-day booking is correct, clear the reported forbidden fields and retain its required day/time deadline. Otherwise correct
booking_typeand its dependent fields together. - 3Check 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