Errors
service_unavailable
The service is temporarily unavailable.
| HTTP status | Type | Code |
|---|---|---|
| 503 | api_error | service_unavailable |
What it means
A dependency is down or the service is overloaded. Retry after a short wait, with backoff.
How to handle it
Retry with exponential backoff. If it keeps failing, contact support and include the requestId from the response.
Example response
{
"detail": "The service is temporarily unavailable.",
"error": {
"type": "api_error",
"code": "service_unavailable",
"message": "The service is temporarily unavailable.",
"param": null,
"docUrl": "https://docs.callmitra.ai/errors/service_unavailable",
"requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
}
}Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.
Returned by
POST /api/v1/calls/— Place a call