Skip to main content

Errors and responses

Amnis uses conventional HTTP response codes to indicate the success or failure of an API request. Typically a status code in the 2xx range indicates success, status codes in the 4xx range indicate an error that has been triggered due to the information provided (for example; a parameter does not meet the validation requirements or was not provided), and status codes in the 5xx range indicate an error with our servers.

HTTP Response errors

The API uses the following error codes:

CodeDescription
200OK - The request was processed successfully.
201Created - The request was processed successfully.
204OK - The request was processed successfully but no content to return.
400Bad Request -- Your request is invalid.
401Unauthorised -- Your access token is wrong.
403Forbidden -- Access to the requested resource or action is forbidden.
404Not Found -- The requested resource could not be found.
422Unprocessable Content -- We could not process your request due to invalid data provided.
429Too Many Requests -- You're sending too many requests.
500Internal Server Error -- We had a problem with our server. Try again later.
503Service Unavailable -- We're temporarily offline for maintenance. Please try again later.