HTTP status codes are used to communicate the success or failure of a request to a resource. The predominant status codes are:
|200||Everything worked as expected|
|400||Invalid user input|
|401||Invalid or missing credentials|
|404||Item not found|
In general all codes that are defined by the HTTP/1.1 standard can occur.
If the status code is not
200, the request should be considered failed and throwing an exception is recommended. A JSON object will be returned that contains a detailed error message for debugging.
Errors Header Information
To give the client more detailed information about the problem many error pages contain the HTTP header X-API-Error. The table below contains the possible values to be obtained through this header, with a brief description of the problem.
The application is not active and has to be reactivated
IP address is not whitelisted
Application does not exist
Only available with valid email configuration
Organization does not exist
Not authorized to access quota
Too many requests made, resource is temporary blocked
Too many enabled users