Skip to content

Database

Database unavailable

The database did not answer in time. Nothing in the request needs to change; trying again later may succeed.

HTTP 503DATABASE_UNAVAILABLE

In the response

Besides the standard members type, title, status, detail, instance, plus code and requestId:

Nothing else. This error carries no errors or meta.

Example response

HTTP 503 · application/problem+json
{
  "type": "https://smartpathshaala.com/problems/database-unavailable",
  "title": "Database unavailable",
  "status": 503,
  "detail": "<what went wrong this time>",
  "instance": "<the request path>",
  "code": "DATABASE_UNAVAILABLE",
  "requestId": "<also sent as X-Request-Id>"
}

Values in angle brackets vary per request. Quote the requestId when reporting an error; it is how the server’s log line is found.