pyrogram/compiler/error/source/400_BAD_REQUEST.tsv

148 lines
8.3 KiB
Plaintext
Raw Normal View History

2017-12-15 11:25:46 +00:00
id message
FIRSTNAME_INVALID The first name is invalid
LASTNAME_INVALID The last name is invalid
PHONE_NUMBER_INVALID The phone number is invalid
PHONE_CODE_HASH_EMPTY phone_code_hash is missing
PHONE_CODE_EMPTY phone_code is missing
PHONE_CODE_EXPIRED The confirmation code has expired
PHONE_CODE_INVALID The confirmation code is invalid
API_ID_INVALID The api_id/api_hash combination is invalid
PHONE_NUMBER_OCCUPIED The phone number is already in use
PHONE_NUMBER_UNOCCUPIED The phone number is not yet being used
USERS_TOO_FEW Not enough users (to create a chat, for example)
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
TYPE_CONSTRUCTOR_INVALID The type constructor is invalid
FILE_PART_INVALID The file part number is invalid. The value is not between 0 and 3999
FILE_PARTS_INVALID Invalid number of parts. The value is not between 1 and 4000
2017-12-15 11:25:46 +00:00
FILE_PART_X_MISSING Part {x} of the file is missing from storage
MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
2017-12-15 11:25:46 +00:00
PHOTO_INVALID_DIMENSIONS The photo dimensions are invalid
FIELD_NAME_INVALID The field with the name FIELD_NAME is invalid
FIELD_NAME_EMPTY The field with the name FIELD_NAME is missing
MSG_WAIT_FAILED A waiting call returned an error
PEER_ID_INVALID The id/access_hash combination is invalid
MESSAGE_EMPTY The message sent is empty
ENCRYPTED_MESSAGE_INVALID The special binding message (bind_auth_key_inner) contains invalid data
INPUT_METHOD_INVALID The method called is invalid
PASSWORD_HASH_INVALID Two-step verification password is invalid
USERNAME_NOT_OCCUPIED The username is not occupied by anyone
USERNAME_INVALID The username is invalid
MESSAGE_ID_INVALID The message id is invalid
MESSAGE_NOT_MODIFIED The message was not modified
2017-12-18 08:30:07 +00:00
ENTITY_MENTION_USER_INVALID The mentioned entity is not an user
2017-12-22 06:55:02 +00:00
MESSAGE_TOO_LONG The message text is over 4096 characters
ACCESS_TOKEN_EXPIRED The bot token is invalid
BOT_METHOD_INVALID The method can't be used by bots
QUERY_TOO_SHORT The query is too short
SEARCH_QUERY_EMPTY The query is empty
CHAT_ID_INVALID The chat id is invalid
DATE_EMPTY The date argument is empty
PERSISTENT_TIMESTAMP_EMPTY The pts is empty
CDN_METHOD_INVALID The method can't be used on CDN DCs
VOLUME_LOC_NOT_FOUND The volume location can't be found
FILE_ID_INVALID The file id is invalid
LOCATION_INVALID The file address is invalid
2018-02-27 09:53:35 +00:00
CHAT_ADMIN_REQUIRED The method requires chat admin privileges
2018-02-01 09:57:06 +00:00
PHONE_NUMBER_BANNED The phone number is banned
2018-02-07 13:05:35 +00:00
ABOUT_TOO_LONG The about text is too long
2018-02-07 18:35:52 +00:00
MULTI_MEDIA_TOO_LONG The album contains more than 10 items
2018-02-11 14:05:42 +00:00
USERNAME_OCCUPIED The username is already in use
2018-02-27 13:49:50 +00:00
BOT_INLINE_DISABLED The inline feature of the bot is disabled
INLINE_RESULT_EXPIRED The inline bot query expired
INVITE_HASH_INVALID The invite link hash is invalid
2018-03-03 00:53:39 +00:00
USER_ALREADY_PARTICIPANT The user is already a participant of this chat
2018-12-15 07:33:27 +00:00
TTL_MEDIA_INVALID The media does not support self-destruction
2018-03-05 01:05:49 +00:00
MAX_ID_INVALID The max_id parameter is invalid
CHANNEL_INVALID The channel parameter is invalid
DC_ID_INVALID The dc_id parameter is invalid
LIMIT_INVALID The limit parameter is invalid
OFFSET_INVALID The offset parameter is invalid
2018-04-18 09:24:19 +00:00
EMAIL_INVALID The email provided is invalid
USER_IS_BOT A bot cannot send messages to other bots or to itself
2018-12-15 07:33:27 +00:00
WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
2018-04-26 08:54:18 +00:00
STICKERSET_INVALID The requested sticker set is invalid
2018-05-10 10:19:27 +00:00
PEER_FLOOD The method can't be used because your account is limited
2019-01-13 05:52:25 +00:00
MEDIA_CAPTION_TOO_LONG The media caption is longer than 1024 characters
USER_NOT_MUTUAL_CONTACT The user is not a mutual contact
2018-07-11 15:09:52 +00:00
USER_CHANNELS_TOO_MUCH The user is already in too many channels or supergroups
2018-07-18 00:14:36 +00:00
API_ID_PUBLISHED_FLOOD You are using an API key that is limited on the server side
2018-10-01 07:38:25 +00:00
USER_NOT_PARTICIPANT The user is not a member of this chat
2018-11-04 16:24:43 +00:00
CHANNEL_PRIVATE The channel/supergroup is not accessible
2018-11-09 12:21:10 +00:00
MESSAGE_IDS_EMPTY The requested message doesn't exist
2018-12-15 07:33:27 +00:00
WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
QUERY_ID_INVALID The callback query id is invalid
MEDIA_EMPTY The media is invalid
USER_IS_BLOCKED The user blocked you
YOU_BLOCKED_USER You blocked this user
ADMINS_TOO_MUCH The chat has too many administrators
2018-12-15 10:10:03 +00:00
BOTS_TOO_MUCH The chat has too many bots
2018-12-25 13:51:03 +00:00
USER_ADMIN_INVALID The action requires admin privileges
INPUT_USER_DEACTIVATED The target user has been deactivated
PASSWORD_RECOVERY_NA The password recovery e-mail is not available
2018-12-26 08:18:48 +00:00
PASSWORD_EMPTY The password entered is empty
2019-01-03 10:42:15 +00:00
PHONE_NUMBER_FLOOD This number has tried to login too many times
TAKEOUT_INVALID The takeout id is invalid
2019-01-05 11:06:54 +00:00
TAKEOUT_REQUIRED The method must be invoked inside a takeout session
2019-01-05 11:26:05 +00:00
MESSAGE_POLL_CLOSED You can't interact with a closed poll
2019-01-07 10:47:59 +00:00
MEDIA_INVALID The media is invalid
2019-01-07 21:58:14 +00:00
BOT_SCORE_NOT_MODIFIED The bot score was not modified
2019-01-13 05:52:25 +00:00
USER_BOT_REQUIRED The method can be used by bots only
2019-02-06 18:34:31 +00:00
IMAGE_PROCESS_FAILED The server failed to process your image
USERNAME_NOT_MODIFIED The username was not modified
2019-02-06 18:34:31 +00:00
CALL_ALREADY_ACCEPTED The call is already accepted
CALL_ALREADY_DECLINED The call is already declined
2019-03-11 20:26:15 +00:00
PHOTO_EXT_INVALID The photo extension is invalid
2019-03-13 13:04:35 +00:00
EXTERNAL_URL_INVALID The external media URL is invalid
CHAT_NOT_MODIFIED The chat settings were not modified
2018-11-09 12:22:48 +00:00
RESULTS_TOO_MUCH The result contains too many items
2019-04-13 11:32:16 +00:00
RESULT_ID_DUPLICATE The result contains items with duplicated identifiers
ACCESS_TOKEN_INVALID The bot access token is invalid
2019-05-21 12:25:13 +00:00
INVITE_HASH_EXPIRED The chat invite link is no longer valid
2019-06-01 11:10:06 +00:00
USER_BANNED_IN_CHANNEL You are limited, check @SpamBot for details
2019-06-08 16:54:33 +00:00
MESSAGE_EDIT_TIME_EXPIRED You can no longer edit this message
FOLDER_ID_INVALID The folder id is invalid
MEGAGROUP_PREHISTORY_HIDDEN The action failed because the supergroup has the pre-history hidden
CHAT_LINK_EXISTS The action failed because the supergroup is linked to a channel
LINK_NOT_MODIFIED The chat link was not modified because you tried to link to the same target
BROADCAST_ID_INVALID The channel is invalid
2019-08-07 14:02:26 +00:00
MEGAGROUP_ID_INVALID The supergroup is invalid
2019-06-20 12:15:53 +00:00
BUTTON_DATA_INVALID The button callback data contains invalid data or exceeds 64 bytes
2019-06-22 23:30:38 +00:00
START_PARAM_INVALID The start parameter is invalid
ARTICLE_TITLE_EMPTY The article title is empty
FILE_PART_TOO_BIG The size limit (512 KB) for the content of the file part has been exceeded
FILE_PART_EMPTY The file part sent is empty
FILE_PART_SIZE_INVALID 512 KB cannot be evenly divided by part_size
FILE_PART_SIZE_CHANGED The part size is different from the size of one of the previous parts in the same file
2019-07-21 21:09:02 +00:00
FILE_MIGRATE_X The file is in Data Center No. {x}
RESULT_TYPE_INVALID The result type is invalid
PHOTO_THUMB_URL_EMPTY The photo thumb URL is empty
PHOTO_THUMB_URL_INVALID The photo thumb URL is invalid
PHOTO_CONTENT_URL_EMPTY The photo content URL is empty
PHOTO_CONTENT_TYPE_INVALID The photo content type is invalid
WEBDOCUMENT_INVALID The web document is invalid
WEBDOCUMENT_URL_EMPTY The web document URL is empty
WEBDOCUMENT_URL_INVALID The web document URL is invalid
2019-08-07 14:05:01 +00:00
WEBDOCUMENT_MIME_INVALID The web document mime type is invalid
2019-08-10 20:29:24 +00:00
BUTTON_URL_INVALID The button url is invalid
2019-09-07 13:55:08 +00:00
AUTH_BYTES_INVALID The authorization bytes are invalid
USER_ID_INVALID The user ID is invalid
CHANNELS_TOO_MUCH You have joined too many channels or supergroups
ADMIN_RANK_INVALID The custom administrator title is invalid or is longer than 16 characters
2019-09-21 17:56:12 +00:00
ADMIN_RANK_EMOJI_NOT_ALLOWED Emojis are not allowed in custom administrator titles
FILE_REFERENCE_EMPTY The file reference is empty
2019-10-27 09:12:33 +00:00
FILE_REFERENCE_INVALID The file reference is invalid
REPLY_MARKUP_TOO_LONG The reply markup is too long
SECONDS_INVALID The seconds interval is invalid, for slow mode try with 0 (off), 10, 30, 60 (1m), 300 (5m), 900 (15m) or 3600 (1h)
QUIZ_MULTIPLE_INVALID A quiz can't have multiple answers
QUIZ_CORRECT_ANSWERS_EMPTY The correct answers of the quiz are empty
QUIZ_CORRECT_ANSWER_INVALID The correct answers of the quiz are invalid
QUIZ_CORRECT_ANSWERS_TOO_MUCH The quiz contains too many correct answers
OPTIONS_TOO_MUCH The poll options are too many
POLL_ANSWERS_INVALID The poll answers are invalid
POLL_QUESTION_INVALID The poll question is invalid
FRESH_CHANGE_ADMINS_FORBIDDEN Recently logged-in users cannot change admins
2020-04-10 11:22:57 +00:00
BROADCAST_PUBLIC_VOTERS_FORBIDDEN Polls with public voters cannot be sent in channels
2020-04-24 13:51:19 +00:00
INPUT_FILTER_INVALID The filter is invalid for this query
EMOTICON_EMPTY The emoticon parameter is empty
EMOTICON_INVALID The emoticon parameter is invalid