Added some errors to known errors

This commit is contained in:
KurimuzonAkuma 2023-10-12 23:00:31 +03:00
parent 58f2254f4f
commit a05c8d243a
4 changed files with 28 additions and 4 deletions

View File

@ -56,6 +56,7 @@ CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried t
CHAT_ABOUT_TOO_LONG The chat about text is too long
CHAT_ADMIN_REQUIRED The method requires chat admin privileges
CHAT_FORWARDS_RESTRICTED The chat restricts forwarding content
CHAT_DISCUSSION_UNALLOWED The chat discussion is not allowed
CHAT_ID_EMPTY The provided chat id is empty
CHAT_ID_INVALID The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it
CHAT_INVALID The chat is invalid
@ -168,9 +169,12 @@ MAX_QTS_INVALID The provided QTS is invalid
MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
MEDIA_CAPTION_TOO_LONG The media caption is too long
MEDIA_EMPTY The media you tried to send is invalid
MEDIA_FILE_INVALID The media file is invalid
MEDIA_INVALID The media is invalid
MEDIA_NEW_INVALID The new media to edit the message with is invalid
MEDIA_PREV_INVALID The previous media cannot be edited with anything else
MEDIA_TTL_INVALID The media ttl is invalid
MEDIA_VIDEO_STORY_MISSING The media does not have a photo or a video
MEGAGROUP_ID_INVALID The supergroup is invalid
MEGAGROUP_PREHISTORY_HIDDEN The action failed because the supergroup has the pre-history hidden
MEGAGROUP_REQUIRED The request can only be used with a supergroup
@ -183,6 +187,7 @@ MESSAGE_POLL_CLOSED You can't interact with a closed poll
MESSAGE_TOO_LONG The message text is too long
METHOD_INVALID The API method is invalid and cannot be used
MSG_ID_INVALID The message ID used in the peer was invalid
MSG_VOICE_MISSING The message does not contain a voice message
MSG_WAIT_FAILED A waiting call returned an error
MULTI_MEDIA_TOO_LONG The album/media group contains too many items
NEW_SALT_INVALID The new salt is invalid
@ -240,6 +245,7 @@ POLL_OPTION_INVALID A poll option used invalid data (the data may be too long)
POLL_QUESTION_INVALID The poll question is invalid
POLL_UNSUPPORTED This layer does not support polls in the invoked method
POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
PREMIUM_ACCOUNT_REQUIRED The method requires a premium user account
PRIVACY_KEY_INVALID The privacy key is invalid
PRIVACY_TOO_LONG Your privacy exception list has exceeded the maximum capacity
PRIVACY_VALUE_INVALID The privacy value is invalid
@ -302,6 +308,7 @@ STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a pn
STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
STICKER_VIDEO_NOWEBM A webm video file was expected, but something else was provided
STORIES_TOO_MUCH Too many stories in the current account
TAKEOUT_INVALID The takeout id is invalid
TAKEOUT_REQUIRED The method must be invoked inside a takeout session
TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
@ -312,6 +319,10 @@ THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid
TMP_PASSWORD_DISABLED The temporary password is disabled
TMP_PASSWORD_INVALID The temporary password is invalid
TOKEN_INVALID The provided token is invalid
TOPIC_CLOSED The topic was closed
TOPIC_DELETED The topic was deleted
TOPIC_NOT_MODIFIED The topic was not modified
TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.
TTL_DAYS_INVALID The provided TTL days is invalid
TTL_MEDIA_INVALID The media does not support self-destruction
TYPES_EMPTY The types parameter is empty
@ -323,6 +334,7 @@ USERNAME_INVALID The username is invalid
USERNAME_NOT_MODIFIED The username was not modified because you tried to edit it using the same one
USERNAME_NOT_OCCUPIED The username is not occupied by anyone
USERNAME_OCCUPIED The username is already in use by someone else
USERNAME_PURCHASE_AVAILABLE The username is available for purchase on fragment.com
USERPIC_UPLOAD_REQUIRED You are required to upload a profile picture for this action
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)
@ -358,3 +370,5 @@ WEBDOCUMENT_URL_INVALID The web document URL is invalid
WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
YOU_BLOCKED_USER You blocked this user
STORIES_NEVER_CREATED You have never created any stories
MEDIA_FILE_INVALID The provided media file is invalid

1 id message
56 CHAT_ABOUT_TOO_LONG The chat about text is too long
57 CHAT_ADMIN_REQUIRED The method requires chat admin privileges
58 CHAT_FORWARDS_RESTRICTED The chat restricts forwarding content
59 CHAT_DISCUSSION_UNALLOWED The chat discussion is not allowed
60 CHAT_ID_EMPTY The provided chat id is empty
61 CHAT_ID_INVALID The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it
62 CHAT_INVALID The chat is invalid
169 MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
170 MEDIA_CAPTION_TOO_LONG The media caption is too long
171 MEDIA_EMPTY The media you tried to send is invalid
172 MEDIA_FILE_INVALID The media file is invalid
173 MEDIA_INVALID The media is invalid
174 MEDIA_NEW_INVALID The new media to edit the message with is invalid
175 MEDIA_PREV_INVALID The previous media cannot be edited with anything else
176 MEDIA_TTL_INVALID The media ttl is invalid
177 MEDIA_VIDEO_STORY_MISSING The media does not have a photo or a video
178 MEGAGROUP_ID_INVALID The supergroup is invalid
179 MEGAGROUP_PREHISTORY_HIDDEN The action failed because the supergroup has the pre-history hidden
180 MEGAGROUP_REQUIRED The request can only be used with a supergroup
187 MESSAGE_TOO_LONG The message text is too long
188 METHOD_INVALID The API method is invalid and cannot be used
189 MSG_ID_INVALID The message ID used in the peer was invalid
190 MSG_VOICE_MISSING The message does not contain a voice message
191 MSG_WAIT_FAILED A waiting call returned an error
192 MULTI_MEDIA_TOO_LONG The album/media group contains too many items
193 NEW_SALT_INVALID The new salt is invalid
245 POLL_QUESTION_INVALID The poll question is invalid
246 POLL_UNSUPPORTED This layer does not support polls in the invoked method
247 POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method
248 PREMIUM_ACCOUNT_REQUIRED The method requires a premium user account
249 PRIVACY_KEY_INVALID The privacy key is invalid
250 PRIVACY_TOO_LONG Your privacy exception list has exceeded the maximum capacity
251 PRIVACY_VALUE_INVALID The privacy value is invalid
308 STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
309 STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
310 STICKER_VIDEO_NOWEBM A webm video file was expected, but something else was provided
311 STORIES_TOO_MUCH Too many stories in the current account
312 TAKEOUT_INVALID The takeout id is invalid
313 TAKEOUT_REQUIRED The method must be invoked inside a takeout session
314 TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
319 TMP_PASSWORD_DISABLED The temporary password is disabled
320 TMP_PASSWORD_INVALID The temporary password is invalid
321 TOKEN_INVALID The provided token is invalid
322 TOPIC_CLOSED The topic was closed
323 TOPIC_DELETED The topic was deleted
324 TOPIC_NOT_MODIFIED The topic was not modified
325 TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.
326 TTL_DAYS_INVALID The provided TTL days is invalid
327 TTL_MEDIA_INVALID The media does not support self-destruction
328 TYPES_EMPTY The types parameter is empty
334 USERNAME_NOT_MODIFIED The username was not modified because you tried to edit it using the same one
335 USERNAME_NOT_OCCUPIED The username is not occupied by anyone
336 USERNAME_OCCUPIED The username is already in use by someone else
337 USERNAME_PURCHASE_AVAILABLE The username is available for purchase on fragment.com
338 USERPIC_UPLOAD_REQUIRED You are required to upload a profile picture for this action
339 USERS_TOO_FEW Not enough users (to create a chat, for example)
340 USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
370 WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
371 WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
372 YOU_BLOCKED_USER You blocked this user
373 STORIES_NEVER_CREATED You have never created any stories
374 MEDIA_FILE_INVALID The provided media file is invalid

View File

@ -9,9 +9,17 @@ CHAT_SEND_INLINE_FORBIDDEN You cannot use inline bots to send messages in this c
CHAT_SEND_MEDIA_FORBIDDEN You can't send media messages in this chat
CHAT_SEND_POLL_FORBIDDEN You can't send polls in this chat
CHAT_SEND_STICKERS_FORBIDDEN You can't send stickers in this chat
CHAT_SEND_AUDIOS_FORBIDDEN You can't send audio messages in this chat
CHAT_SEND_GAME_FORBIDDEN You can't send a game to this chat
CHAT_SEND_PHOTOS_FORBIDDEN You can't send photos in this chat
CHAT_SEND_PLAIN_FORBIDDEN You can't send non-media (text) messages in this chat
CHAT_SEND_VIDEOS_FORBIDDEN You can't send videos in this chat
CHAT_SEND_VOICES_FORBIDDEN You can't send voice recordings in this chat
CHAT_WRITE_FORBIDDEN You don't have rights to send messages in this chat
EDIT_BOT_INVITE_FORBIDDEN Bots' chat invite links can't be edited
GROUPCALL_FORBIDDEN The group call has already ended
INLINE_BOT_REQUIRED The action must be performed through an inline bot callback
LIVE_DISABLED Story is disabled server-side
MESSAGE_AUTHOR_REQUIRED You are not the author of this message
MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat, most likely because you are not the author of them
POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method

1 id message
9 CHAT_SEND_MEDIA_FORBIDDEN You can't send media messages in this chat
10 CHAT_SEND_POLL_FORBIDDEN You can't send polls in this chat
11 CHAT_SEND_STICKERS_FORBIDDEN You can't send stickers in this chat
12 CHAT_SEND_AUDIOS_FORBIDDEN You can't send audio messages in this chat
13 CHAT_SEND_GAME_FORBIDDEN You can't send a game to this chat
14 CHAT_SEND_PHOTOS_FORBIDDEN You can't send photos in this chat
15 CHAT_SEND_PLAIN_FORBIDDEN You can't send non-media (text) messages in this chat
16 CHAT_SEND_VIDEOS_FORBIDDEN You can't send videos in this chat
17 CHAT_SEND_VOICES_FORBIDDEN You can't send voice recordings in this chat
18 CHAT_WRITE_FORBIDDEN You don't have rights to send messages in this chat
19 EDIT_BOT_INVITE_FORBIDDEN Bots' chat invite links can't be edited
20 GROUPCALL_FORBIDDEN The group call has already ended
21 INLINE_BOT_REQUIRED The action must be performed through an inline bot callback
22 LIVE_DISABLED Story is disabled server-side
23 MESSAGE_AUTHOR_REQUIRED You are not the author of this message
24 MESSAGE_DELETE_FORBIDDEN You don't have rights to delete messages in this chat, most likely because you are not the author of them
25 POLL_VOTE_REQUIRED Cast a vote in the poll before calling this method

View File

@ -43,3 +43,4 @@ UPLOAD_NO_VOLUME Telegram is having internal problems. Please try again later
VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later
WORKER_BUSY_TOO_LONG_RETRY Server workers are too busy right now due to Telegram having internal problems. Please try again later
WP_ID_GENERATE_FAILED Telegram is having internal problems. Please try again later
FILE_WRITE_FAILED Telegram is having internal problems. Please try again later

1 id message
43 VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later
44 WORKER_BUSY_TOO_LONG_RETRY Server workers are too busy right now due to Telegram having internal problems. Please try again later
45 WP_ID_GENERATE_FAILED Telegram is having internal problems. Please try again later
46 FILE_WRITE_FAILED Telegram is having internal problems. Please try again later

View File

@ -1,3 +1,4 @@
id message
ApiCallError Telegram is having internal problems. Please try again later.
Timeout Telegram is having internal problems. Please try again later.
Timedout Telegram is having internal problems. Please try again later.

1 id message
2 ApiCallError Telegram is having internal problems. Please try again later.
3 Timeout Telegram is having internal problems. Please try again later.
4 Timedout Telegram is having internal problems. Please try again later.