Error
All references you need will be detailed and informative to understand the usage and what happen on our system or API.
On this page
Response
The response contains JSON body with error code, slug and the detail message of the error.
Body
{
"error_code": 100,
"error_code_slug": "error-code",
"message": "the error message"
}
Parameters
Name | Type | Description |
---|---|---|
error_code | Number | Unique number of error code. Check Error Codes section for more details. |
error_code_slug | Number | Unique slug of error code. Check Error Codes section for more details. |
message | String | Error detail |
Error Codes
These are the detail of each error codes, slugs, HTTP response code and also the detail message.
List of Error Codes
Error Code | Slug | HTTP Response Code | Message |
---|---|---|---|
110 | invalid-phone-number | 400 Status Bad Request | The phone number format is invalid, please make sure to use +E164 format and only number for allowed country |
111 | max-attempt-exceeded | 400 Status Bad Request | The phone number has been temporary block because of too many requests in the last few minutes, please try again in next few minutes |
112 | blocked-unusual-activity | 400 Status Bad Request | The phone number has been blocked due to unusual activities, the phone number will be unblocked in next 24 hours |
113 | missing-auth-token | 403 Status Forbidden | Missing auth token |
114 | invalid-auth-token | 403 Status Forbidden | Invalid auth token |
115 | service-unavailable | 503 Status Service Unavailable | Service unavailable |
117 | invalid-auth | 401 Status Unauthorize | Invalid auth |
118 | ip-not-allowed | 403 Status Forbidden | IP not allowed |