Skip to main content
Status CodeDescriptionResponse Format
401Invalid service token or unauthorizedError object
403Forbidden — insufficient permissions for the requested endpoint and operationError object
404Model not found or unavailableError object
409Conflict — the resource was modified by another request (retry with a fresh copy)Error object
429Insufficient creditError object
500Internal server errorError object
503Service temporarily unavailableError object

Common solutions

  • 401 (Unauthorized): Verify your service token is valid and properly included in the Authorization header
  • 403 (Forbidden): The error message includes the endpoint and operation that was denied and which scope tier (global, organization, or project) rejected the request. Check that your role has the required permissions for this endpoint.
  • 404 (Not Found): Check that you’re using a valid model ID
  • 409 (Conflict): Another request modified the resource between your read and your update. Fetch the latest version of the resource and retry your request.
  • 429 (Rate Limit): Review your available credit
  • 500 (Server Error): If persistent, contact support with details about your request
  • 503 (Service Unavailable): Retry your request after a short delay, using exponential backoff

Error response format

{
  "error": {
    "message": "Error message describing what went wrong",
    "type": "<an error type>",
    "param": "<optional, additional details about the error>",
    "code": "<a specific error code>"
  }
}

Contact Support

If you encounter any of these errors and need further assistance, please Contact Support.