Skip to content

Common errors#

HTTP errors#

HTTP code Error ID Description
400 instance in starting process try later The account is in starting/restarting process. Please try again in a few seconds
400 instance account not authorized The account is not authorized
400 bad request data The request data are not valid. Correct the error in the request parameters and try again
401 Unauthorized Problem with authorization, check the correctness of the apiTokenInstance
403 Forbidden Problem with authentication, check the correctness of the idInstance
429 Too Many Requests The user has been rate limited. Please decrease the frequency requests. Request frequency guidelines
499 Client Closed Request The user closed the connection while the server was processing the request. It is necessary to increase the waiting time for a response from the server and repeat the request with a delay. If the error persists, inform the operator and provide an opportunity to retry the submission
502 Bad Gateway The server is unable to receive a response from the target server. It is necessary to repeat the request 3 times with a delay. If the error persists, inform the operator and provide an opportunity to retry the submission

Errors in the webhooks body#

Error code Parameter Description Solution
{{SWE001}} textMessage Error of receiving the first incoming message in the chat when sent to additional devices from the WhatsApp side. It is also observed in the native web and desktop versions. In fact, all additional devices get an empty message. Webhook body example To capture th etext-marker {{SWE001}} in the message body and configure the bot to re-request the message from the sender with the following text:"Please send your message again, I couldn't see your reply".
{{SWE002}} downloadUrl Error of getting a large file over 100 MB. Webhook body example To capture the text-marker {{SWE002}} in the message body and check the message in the phone.
{{SWE003}} textMessage Error of decrypting messages caused by the loss of the authorization keys relevance. Webhook body example To capture the text-marker {{SWE003}}. When such messages come, it is necessary to delete all authorizations in the phone and scan the QR code again.