Skip to content
SkanPay Docs

database_unavailable

SkanPay is briefly unable to reach its database.

HTTP statustypeRetry the same request?
503api_erroryes

Why it happens

A transient outage. The response carries a Retry-After header.

What to do

Retry after the number of seconds in Retry-After, with the same Idempotency-Key.

Example response

503
{
  "error": {
    "type": "api_error",
    "code": "database_unavailable",
    "message": "A human-readable explanation. Do not parse it.",
    "doc_url": "https://docs.skanpay.website/errors/database_unavailable",
    "request_id": "req_01J9Z3K8Q4W6XK2M7N5P0R3T8V"
  }
}

All error codes