Diagnosis
What this notice means
translation_foreign_key_violation is an error in a GTFS Schedule validation report: a translation refers to a record that cannot be found. Start with translations.txt.
The target identified by table_name, record_id, and, where needed, record_sub_id is absent.
Operational effect
Why it matters
The translation may not appear for the intended text.
Scope
Files to check and report fields
| Report field | Type | Meaning |
|---|---|---|
csvRowNumber | integer | The row number of the faulty record. |
recordId | string | record_id of the faulty record. |
recordSubId | string | record_sub_id of the faulty record. |
tableName | string | table_name of the faulty record. |
Repair
How to fix it
- 1
Find the reported target table and compare its keys with the translation identifiers.
- 2
Correct stale or mistyped IDs, restore a genuinely missing target, or remove a translation for deleted content. For compound targets, check both ID components.
- 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