# PassportElementErrorTranslationFile

> Represents an issue with one of the files that constitute the translation of a document

**Category:** Telegram Bot API — Types (A-Z)  
**URL:** https://docs.botlify.cloud/passportelementerrortranslationfile  
**Platform:** Botlify Cloud (https://botlify.cloud)  

---

Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| source | String | Always | Error source, must be translation_file |
| type | String | Always | Type of element of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport", "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration" |
| file_hash | String | Always | Base64-encoded file hash |
| message | String | Always | Error message |

> [!TIP]
> **Botlify Cloud Runtime**
> Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.
