Our API attempts to return appropriate HTTP status codes for every request.
Code | Text | Description |
---|---|---|
200 | OK | When the API returns a 200 status code means that the request is completed successfully. |
400 | Bad Request | The request was invalid or cannot be otherwise served. Please review your input. |
401 | Unauthorized | Authentication credentials were either missing, incorrect or expired. |
404 | Not Found | Returned when the requested method is not found. Please review your request. |
429 | Too Many Requests | Returned when a request cannot be served due to the application’s rate limit having been exhausted for the resource. |
500 | Internal Server Error | Something is broken. Please let us know by creating a support ticket. In most of the case a DebugID will be included in the response message. When available add the DebugID in the ticket description. |
When the API returns error messages it provides error data which can be used to better understand the problem. The error data provided with the error message can vary depending on the type of error occured. Currently the API manages to return the following error data types:
Each datatype returned in the error has its own unique error code. These codes can be used to make your own localizations. Please check the error codes page for all error codes.
When the API returns error messages, it does so in your requested format. For example an error from a JSON request could look like this:
When encountering an Internal Server Error we try to give as much information as possible.
When we are not able to give the detailed information we are returning the following model: