mtcute/packages/tl/raw-errors.json

2 lines
128 KiB
JSON
Raw Normal View History

{ "base": { "BAD_REQUEST": 400, "UNAUTHORIZED": 401, "FORBIDDEN": 403, "NOT_FOUND": 404, "FLOOD": 420, "SEE_OTHER": 303, "NOT_ACCEPTABLE": 406, "INTERNAL": 500 }, "errors": { "ABOUT_TOO_LONG": { "code": 400, "name": "ABOUT_TOO_LONG", "description": "About string too long." }, "ACCESS_TOKEN_EXPIRED": { "code": 400, "name": "ACCESS_TOKEN_EXPIRED", "description": "Access token expired." }, "ACCESS_TOKEN_INVALID": { "code": 400, "name": "ACCESS_TOKEN_INVALID", "description": "Access token invalid." }, "ADMIN_ID_INVALID": { "code": 400, "name": "ADMIN_ID_INVALID", "description": "The specified admin ID is invalid." }, "ADMIN_RANK_EMOJI_NOT_ALLOWED": { "code": 400, "name": "ADMIN_RANK_EMOJI_NOT_ALLOWED", "description": "An admin rank cannot contain emojis." }, "ADMIN_RANK_INVALID": { "code": 400, "name": "ADMIN_RANK_INVALID", "description": "The specified admin rank is invalid." }, "ADMINS_TOO_MUCH": { "code": 400, "name": "ADMINS_TOO_MUCH", "description": "There are too many admins." }, "ALBUM_PHOTOS_TOO_MANY": { "code": 400, "name": "ALBUM_PHOTOS_TOO_MANY", "description": "You have uploaded too many profile photos, delete some before retrying." }, "API_ID_INVALID": { "code": 400, "name": "API_ID_INVALID", "description": "API ID invalid." }, "API_ID_PUBLISHED_FLOOD": { "code": 400, "name": "API_ID_PUBLISHED_FLOOD", "description": "This API id was published somewhere, you can't use it now." }, "ARTICLE_TITLE_EMPTY": { "code": 400, "name": "ARTICLE_TITLE_EMPTY", "description": "The title of the article is empty." }, "AUDIO_CONTENT_URL_EMPTY": { "code": 400, "name": "AUDIO_CONTENT_URL_EMPTY", "description": "The remote URL specified in the content field is empty." }, "AUDIO_TITLE_EMPTY": { "code": 400, "name": "AUDIO_TITLE_EMPTY", "description": "An empty audio title was provided." }, "AUTH_BYTES_INVALID": { "code": 400, "name": "AUTH_BYTES_INVALID", "description": "The provided authorization is invalid." }, "AUTH_TOKEN_ALREADY_ACCEPTED": { "code": 400, "name": "AUTH_TOKEN_ALREADY_ACCEPTED", "description": "The specified auth token was already accepted." }, "AUTH_TOKEN_EXCEPTION": { "code": 400, "name": "AUTH_TOKEN_EXCEPTION", "description": "An error occurred while importing the auth token." }, "AUTH_TOKEN_EXPIRED": { "code": 400, "name": "AUTH_TOKEN_EXPIRED", "description": "The authorization token has expired." }, "AUTH_TOKEN_INVALID": { "code": 400, "name": "AUTH_TOKEN_INVALID", "description": "The specified auth token is invalid." }, "AUTH_TOKEN_INVALIDX": { "code": 400, "name": "AUTH_TOKEN_INVALIDX", "description": "The specified auth token is invalid." }, "AUTOARCHIVE_NOT_AVAILABLE": { "code": 400, "name": "AUTOARCHIVE_NOT_AVAILABLE", "description": "The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https://core.telegram.org/api/config#client-configuration) before calling this method." }, "BANK_CARD_NUMBER_INVALID": { "code": 400, "name": "BANK_CARD_NUMBER_INVALID", "description": "The specified card number is invalid." }, "BANNED_RIGHTS_INVALID": { "code": 400, "name": "BANNED_RIGHTS_INVALID", "description": "You provided some invalid flags in the banned rights." }, "BOT_APP_INVALID": { "code": 400, "name": "BOT_APP_INVALID", "description": "The specified bot app is invalid." }, "BOT_CHANNELS_NA": { "code": 400, "name": "BOT_CHANNELS_NA", "description": "Bots can't edit admin privileges." }, "BOT_COMMAND_DESCRIPTION_INVALID": { "code": 400, "name": "BOT_COMMAND_DESCRIPTION_INVALID", "description": "The specified command description is invalid." }, "BOT_COMMAND_INVALID": { "code": 400, "name": "BOT_COMMAND_INVALID", "description": "The specified command is invalid." }, "BOT_DOMAIN_INVALID": { "code": 400, "name": "BOT_DOMAIN_INVALID", "description": "Bot domain invalid." }, "BOT_GROUPS_BLOCKED": { "code": 400, "name": "BOT_GROUPS_BLOCKED", "description": "This bot can't be added to groups." }, "BOT_INLINE_DISABLED": { "code": 400, "name": "BOT_INLINE_DISABLED", "description": "This bot can't be used in inline mode." }, "BOT_