Error Codes and Handling

The API uses standard HTTP status codes along with a JSON error object to help you identify and troubleshoot issues.

200OKEverything worked as expected.
400Bad RequestThe request was unacceptable, often due to missing a required parameter or bad data.
401UnauthorizedNo valid Access Token provided. (Or) Incorrect Access Token.
402Request FailedThe parameters were valid but the request failed.
403ForbiddenThe Access Token doesn’t have permissions to perform the request.
404Not FoundThe requested resource doesn’t exist.
409ConflictThe request conflicts with another request.
413Content Too LargeThe file is too large.
429Too Many RequestsToo many requests hit the API too quickly. We recommend an exponential backoff of your requests.
500Internal Server ErrorsSomething went wrong on Compliancely.
502Bad GatewaySomething went wrong on Compliancely.
503Service UnavailableIndicates that Compliancely is not ready to handle the request or not available.
504Gateway TimeOutSomething went wrong on Compliancely.