Skip to main content

Service Unavailable

Code

  • code: service_unavailable
  • status: 503
  • url: https://developers.glean.com/errors/service-unavailable

What It Means

The API is temporarily unable to serve the request.

Common Causes

  • A transient availability issue is affecting the request.
  • The service is overloaded or temporarily unavailable.

How To Resolve

Client Actions

  • Retry with backoff.
  • Keep retries bounded so clients do not amplify service load.

Retry Guidance

Retry with exponential backoff and jitter. Escalate if the issue persists.

Example Response

{
"type": "https://developers.glean.com/errors/service-unavailable",
"title": "Service Unavailable",
"status": 503,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "service_unavailable",
"documentation_url": "https://developers.glean.com/errors/service-unavailable",
"request_id": "req_7f8a9b0c1d2e"
}