Diagnosis
What this notice means
empty_required_file is an error in a GTFS Schedule validation report: a required file has a header but no records. The report row names the file to check.
agency.txt, routes.txt, trips.txt or stop_times.txt contains a header row and no data rows.
Operational effect
Why it matters
The feed describes no service of that kind, and apps that need the file will reject the feed.
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 field | Type | Meaning |
|---|---|---|
filename | string | The name of the faulty file. |
Repair
How to fix it
- 1
Open the reported file and check whether the export stopped after writing the header.
- 2
Regenerate the file from the source system so it contains the agencies, routes, trips or stop times the feed should publish.
- 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