Drise

Errors

Status codes returned by the Drise API.

Drise uses standard HTTP status codes. Error bodies are OpenAI-compatible JSON.

StatusMeaningRecommended action
400Bad requestInspect the request body for malformed JSON or missing fields.
401UnauthorizedVerify the Authorization: Bearer <key> header and the key value.
403ForbiddenThe key does not have access to the requested model.
429Rate limitedSlow down. With smart routing this should be rare on Drise.
500Internal server errorRetry with exponential backoff. Drise will auto-failover.
503Service unavailableRetry in a moment. Drise routes around congestion.

Error body shape

{
  "error": {
    "message": "...",
    "type": "rate_limit_error",
    "code": "rate_limit_exceeded"
  }
}

On this page