The service is unavailable.
- Code
unavailable- Type
https://problems.peakintelligence.ch/unavailable- Status
- 503 Service Unavailable
- Audience
user. The person using the client can act on it. A client may showdetailto them; it is worded in the request's language.- Service
- Shared: every Peak service answers with it.
Description
The service, or a service it needs to answer this request, cannot answer right now: it is starting, in maintenance, or a dependency is down. Nothing was changed. Retry after the time in the Retry-After header, or with growing pauses when there is none. The dependency member names the service that is down, for support; do not branch on it.
Example
HTTP/1.1 503 Service Unavailable
Content-Type: application/problem+json
{
"type": "https://problems.peakintelligence.ch/unavailable",
"title": "The service is unavailable.",
"status": 503,
"code": "unavailable",
"audience": "user",
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}
A real answer also carries detail when there is something to say about this occurrence, and may carry errors or members of the type's own, which the service's OpenAPI document describes. When to ask again is the Retry-After header.