API Error codes and statuses
In case of an error, the server returns its HTTP code and a textual error message.
Example
HTTP/1.0 403 Forbidden
Content-Type: application/json
{“message”:”No token”}
All API methods can return the following error codes:
HTTP code | Error message |
500 Server error | Internal server error |
400 Bad Request | Invalid request format |
403 No token | No API key is present in the request |
403 Incorrect token | An invalid API key is present in the request |
403 No access | Action is not available |
403 Access denied | Access to the resource is denied |
429 Too Many Requests | The limit on the number of requests has been exceeded |