Errors
Status codes returned by the Drise API.
Drise uses standard HTTP status codes. Error bodies are OpenAI-compatible JSON.
| Status | Meaning | Recommended action |
|---|---|---|
| 400 | Bad request | Inspect the request body for malformed JSON or missing fields. |
| 401 | Unauthorized | Verify the Authorization: Bearer <key> header and the key value. |
| 403 | Forbidden | The key does not have access to the requested model. |
| 429 | Rate limited | Slow down. With smart routing this should be rare on Drise. |
| 500 | Internal server error | Retry with exponential backoff. Drise will auto-failover. |
| 503 | Service unavailable | Retry in a moment. Drise routes around congestion. |
Error body shape
{
"error": {
"message": "...",
"type": "rate_limit_error",
"code": "rate_limit_exceeded"
}
}