Errors

Mercury uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided.

List of error:

code

message

description

400

api_token WRONG

check the api_token parameter in query url

(see section "Authentication" for more details)

400

api_token REQUIRED

check the api_token in your dashboard

(see section "Authentication" for more details)

400

API NOT ENABLE

check the api token in your dashboard and

enable the API request

400

USER NOT FOUND

check the status of your account in your dashboard

400

USER NOT ENABLE

check the status of your account in your dashboard

400

FLOOD_WAIT_X

maximum limit of API call occured.

(see section "Call limits" for more details)

400

chatId_owner NOT SET

The instance_whatsapp does not have an owner,

to set it you need to send a whatsapp message from your account.

400

instance_whatsapp FINISH

you need to renew the payment methods for your

instance_whatsapp by accessing the dashboard.

400

GENERIC ERROR

generic error

‚Äč