Skip to content

service_unavailable

service_unavailable: HTTP 503, api error. Service is temporarily unavailable.


Code service_unavailable
Type api_error
HTTP status 503
Default message Service is temporarily unavailable.

A part of the service is not available right now. Retry with a short, growing delay.

Something went wrong on our side, or a provider did not answer. It is safe to retry a request that carries an Idempotency-Key.

Every error has the same shape; error.code is this code, and meta.request_id is what to quote when you ask us about a request.

{
"error": {
"type": "api_error",
"code": "service_unavailable",
"detail": "Service is temporarily unavailable.",
"documentation_url": "https://docs.baiyar.com/resources/errors/service_unavailable/"
},
"meta": { "request_id": "req_…" }
}

All error codes