add known errors

This commit is contained in:
Shrimadhav U K 2021-07-06 12:06:57 +05:30 committed by GitHub
parent 81a8df7a62
commit a50801f1a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,6 +309,7 @@ SESSION_REVOKED,401,"The authorization has been invalidated, because of the user
SESSION_TOO_FRESH_X,400,The session logged in too recently and {seconds} seconds must pass before calling the method SESSION_TOO_FRESH_X,400,The session logged in too recently and {seconds} seconds must pass before calling the method
SHA256_HASH_INVALID,400,The provided SHA256 hash is invalid SHA256_HASH_INVALID,400,The provided SHA256 hash is invalid
SHORTNAME_OCCUPY_FAILED,400,An error occurred when trying to register the short-name used for the sticker pack. Try a different name SHORTNAME_OCCUPY_FAILED,400,An error occurred when trying to register the short-name used for the sticker pack. Try a different name
SHORT_NAME_OCCUPIED,400,
SLOWMODE_WAIT_X,420,A wait of {seconds} seconds is required before sending another message in this chat SLOWMODE_WAIT_X,420,A wait of {seconds} seconds is required before sending another message in this chat
SRP_ID_INVALID,400, SRP_ID_INVALID,400,
START_PARAM_EMPTY,400,The start parameter is empty START_PARAM_EMPTY,400,The start parameter is empty
@ -335,6 +336,7 @@ TAKEOUT_INVALID,400,The takeout session has been invalidated by another data exp
TAKEOUT_REQUIRED,400,You must initialize a takeout request first TAKEOUT_REQUIRED,400,You must initialize a takeout request first
TEMP_AUTH_KEY_EMPTY,400,No temporary auth key provided TEMP_AUTH_KEY_EMPTY,400,No temporary auth key provided
TIMEOUT,500,A timeout occurred while fetching data from the worker TIMEOUT,500,A timeout occurred while fetching data from the worker
TITLE_INVALID,400,
THEME_INVALID,400,Theme invalid THEME_INVALID,400,Theme invalid
THEME_MIME_INVALID,400,"You cannot create this theme, the mime-type is invalid" THEME_MIME_INVALID,400,"You cannot create this theme, the mime-type is invalid"
TMP_PASSWORD_DISABLED,400,The temporary password is disabled TMP_PASSWORD_DISABLED,400,The temporary password is disabled
@ -388,4 +390,4 @@ WEBDOCUMENT_URL_INVALID,400,The given URL cannot be used
WEBPAGE_CURL_FAILED,400,Failure while fetching the webpage with cURL WEBPAGE_CURL_FAILED,400,Failure while fetching the webpage with cURL
WEBPAGE_MEDIA_EMPTY,400,Webpage media empty WEBPAGE_MEDIA_EMPTY,400,Webpage media empty
WORKER_BUSY_TOO_LONG_RETRY,500,Telegram workers are too busy to respond immediately WORKER_BUSY_TOO_LONG_RETRY,500,Telegram workers are too busy to respond immediately
YOU_BLOCKED_USER,400,You blocked this user YOU_BLOCKED_USER,400,You blocked this user

1 name codes description
309 SESSION_TOO_FRESH_X 400 The session logged in too recently and {seconds} seconds must pass before calling the method
310 SHA256_HASH_INVALID 400 The provided SHA256 hash is invalid
311 SHORTNAME_OCCUPY_FAILED 400 An error occurred when trying to register the short-name used for the sticker pack. Try a different name
312 SHORT_NAME_OCCUPIED 400
313 SLOWMODE_WAIT_X 420 A wait of {seconds} seconds is required before sending another message in this chat
314 SRP_ID_INVALID 400
315 START_PARAM_EMPTY 400 The start parameter is empty
336 TAKEOUT_REQUIRED 400 You must initialize a takeout request first
337 TEMP_AUTH_KEY_EMPTY 400 No temporary auth key provided
338 TIMEOUT 500 A timeout occurred while fetching data from the worker
339 TITLE_INVALID 400
340 THEME_INVALID 400 Theme invalid
341 THEME_MIME_INVALID 400 You cannot create this theme, the mime-type is invalid
342 TMP_PASSWORD_DISABLED 400 The temporary password is disabled
390 WEBPAGE_CURL_FAILED 400 Failure while fetching the webpage with cURL
391 WEBPAGE_MEDIA_EMPTY 400 Webpage media empty
392 WORKER_BUSY_TOO_LONG_RETRY 500 Telegram workers are too busy to respond immediately
393 YOU_BLOCKED_USER 400 You blocked this user