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 codeError message
500 Server errorInternal server error
400 Bad RequestInvalid request format
403 No token No API key is present in the request
403 Incorrect tocken An invalid API key is present in the request
403 No accessAction is not available
403 Access deniedAccess to the resource is denied
404 Not Found The resource does not exist for the requested path
429 Too Many RequestsThe limit on the number of requests has been exceeded