Errors
HTTP status code 2xx indicates that the request was successfully accepted. Otherwise, HTTP status code 4xx or 5xx indicates a problem. Codes in the 5xx range indicate an error with the ANT server When an error occurs, a structured response body is returned, the following is an example of an error response body:
Error Object
code
REQUIRED. One of the server-defined error codes. Some 4xx
errors that could be handled programmatically include an error code that briefly explains the error reported.
msg
A human-readable representation of the error. It is intended as an aid to developers and is not suitable for exposure to end users.
Error Codes
Below is a list of possible error codes, along with additional information about how to resolve them.
Params can't be empty!
JSON format error!
Auth secret error!
Account exception!
Unsupported country code
Params Too long!
Phone number error!
Params error!
IVR does not exist!
Ip whitelist error!
Account balance is insufficient!
HLR channel error!
The number has reached the request limit
Params type error!
Agent can't send!
Not Found url error
Required request body is missing
Something goes wrong with our servers. These are rare.
Last updated