Error handling
The Attuitive API uses standard HTTP response codes to indicate the result of a request. It can be assumed anything in the 2xx
range was successful. Codes in the 4xx
range indicate a client error, and something that can be fixed by correcting information in the request (e.g. a bad ID or missing parameters) and trying again. Codes in the 5xx
range should be rare and indicate an error from Attuitive.
All responses outside of the 2xx
range will return a standard error format:
{
"status": 400,
"message": "Invalid identifiers",
"moreInfo": "The provided identifiers should be a valid JSON object."
}
Name
Type
Description
status
number
HTTP response code
message
string
A brief description of the error
moreInfo
string
Further details on the error and/or remedy steps
Last updated