# PassportElementError

> This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user

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

---

This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user. It should be one of:

* PassportElementErrorDataField

* PassportElementErrorFrontSide

* PassportElementErrorReverseSide

* PassportElementErrorSelfie

* PassportElementErrorFile

* PassportElementErrorFiles

* PassportElementErrorTranslationFile

* PassportElementErrorTranslationFiles

* PassportElementErrorUnspecified

> [!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.
