Skip to content

service_unavailable

The server is starting or shutting down and can’t take the request.

HTTP 503 · api_error · safe to retry

The server is starting or shutting down and can’t take the request. A 503 is never stored for idempotent replay.

Retry in a few seconds with the same Idempotency-Key. Another instance, or this one after it restarts, will take it.

HTTP 503 · service_unavailable
{
"error": {
"type": "api_error",
"code": "service_unavailable",
"message": "Deedglass is starting or shutting down. Retry in a few seconds.",
"param": null,
"request_id": "req_01j9zr3m5k8q2w7x4t6v0b1c9d",
"doc_url": "https://docs.deedglass.com/errors/service_unavailable"
}
}

The message is for a person and can get more exact over time: branch on type and code, never on the message.

SDK Raised as
TypeScript (@deedglass/sdk) APIError with code === "service_unavailable"
Python (deedglass) deedglass.APIError with .code == "service_unavailable"