Login

Errors

Table of error codes

HTTP status code Error code Description of the error
400 Bad Request 1 Bad request
403 Forbidden 2 Authentication failed
403 Forbidden 3 Authorization failed
400 Bad Request 4 A required property is missing for this action
409 Conflict 5 Object exists
404 Not Found 6 Object not found
400 Bad Request 7 A data validation error has occurred
500 Internal Server Error 8 Internal Server Error
403 Forbidden 9 Tariff limitation
405 Method Not Allowed 0 Method Not Allowed

Response in the event of an incorrect API key or a missing X-Auth-Key:

403 Forbidden

{
	"status": "fail",
	"error": {
		"code": 2,
		"message": "Authentication failed"
	}
}
	

Response in the event of a call to a nonexistent method:

405 Method Not Allowed

{
	"status": "fail",
	"error": {
		"code": 0,
		"message": "Method Not Allowed"
	}
}
	

Response in the event that API services are not included in the tariff plan:

403 Forbidden

{
	"status": "fail",
	"error": {
		"code": 9,
		"message": "Tariff limitation"
	}
}
	

Response in the event that your account is blocked for overdue payment:

403 Forbidden

{
  	"status":"fail",
  	"error": {
		"code": 3,
		"message": "Authorization failed",
		"http_redirect": "/account/billing"
  	},
  	"details": "Payment required"
}