Error codes

Learn about the HTTP status codes and error responses returned by the public API.

Error response format

Error responses use the ApiError schema: a JSON object with a machine-readable code and a human-readable message. Two optional fields may be present: details carries structured context when available (for example the offending fields on some validation errors), and retryAfter — set for rate_limited and service_unavailable — is the number of seconds to wait before retrying.
{
  "code": "invalid_request",
  "message": "applicationId must be a valid UUID.",
  "details": {
    "issues": [
      {
        "path": "applicationId",
        "message": "Invalid uuid",
        "code": "invalid_string"
      }
    ]
  }
}

Error codes

Status codeError messageDescription
400Bad Requestinvalid_request, unsupported_format
401UnauthorizedUnauthorized — missing or invalid credentials
404Not Foundnot_found
413Payload Too Largefile_too_large
422Unprocessable Entityunprocessable
429Too Many Requestsrate_limited
500Internal Server ErrorInternal server error
503Service Unavailableservice_unavailable
Pixel Systems - Error codes