Developer docs menu
Developers
Errors
Errors use ordinary HTTP status codes and a small JSON body with a stable code.
The error body
errorobjectcodestring, one of UNAUTHORIZED, API_ACCESS_NOT_IN_PLAN, INSUFFICIENT_SCOPE, FEATURE_NOT_IN_PLAN, INVALID_FILTER, RATE_LIMITED, NOT_FOUND, INTERNAL_ERRORA stable code. Branch on this.
messagestringA readable message. Show it to a person; do not branch on its wording.
{
"error": {
"code": "INSUFFICIENT_SCOPE",
"message": "This key needs the read:incidents scope (or admin)."
}
}Codes
401UNAUTHORIZEDThe key is missing, wrong, deleted or past its expiry date.Retry: No. Check the key, or ask an admin for a new one.
403API_ACCESS_NOT_IN_PLANYour organisation's plan no longer includes API access.Retry: No. It works again once the plan includes API access.
403INSUFFICIENT_SCOPEThe key does not have the scope this endpoint needs.Retry: No. Create a key with the right scope.
403FEATURE_NOT_IN_PLANYour plan does not include the feature, such as incident management.Retry: No.
400INVALID_FILTERA filter, limit or offset was not one we accept. The message lists the allowed values.Retry: No. Fix the request.
429RATE_LIMITEDThe key has made more than 120 requests in the last minute.Retry: Yes, after the number of seconds in the Retry-After header.
404NOT_FOUNDThere is no such record in your organisation, or the key may not see it.Retry: No.
500INTERNAL_ERRORSomething went wrong on our side.Retry: Yes, a few times with a growing wait. If it keeps happening, tell support.
Each endpoint’s reference page lists the errors it can return, with the exact message.