Status and error codes

All API queries return HTTP status codes that can tell you more about the response.

Sample error code
HTTP/1.1 401 Unauthorized
{
  "errors": "[API] Invalid API key"
}

401 Unauthorized

The client doesn’t have correct authentication credentials.

403 Forbidden

The server is refusing to respond.

404 Not Found

The requested resource was not found but could be available again in the future.

422 Unprocessable Entity

The request body contains semantic errors. This is typically caused by incorrect formatting, omitting required fields, or logical errors such as initiating a checkout for an out-of-stock product.

429 Too Many Requests

The client has exceeded the rate limit.

5xx Errors

An internal error occurred in Colabra. Check out the Colabra status page for more information.

Last updated