swepayError Catalog

Native Accounting Ops

Identity Provider Unavailable 503

NativeGuard, the identity provider behind this API, did not answer in time.

type https://errors.swepay.com.br/accounting-ops/identity-provider-unavailable

What this means

Listing tenants and selecting a tenant depend on a live call to NativeGuard, the identity provider behind this API. This response means that call did not complete — NativeGuard did not answer in time, or answered with a server error.

Access tokens already issued are not affected and keep working normally until they expire; only signing in, listing tenants and switching tenant are unavailable while this persists. The response normally carries a Retry-After header with the number of seconds to wait.

Common causes

  • NativeGuard is temporarily unreachable or overloaded.
  • A network or DNS issue between this API and NativeGuard.
  • NativeGuard answered the request with a server error.

How to resolve

This is retryable. Honour the Retry-After header: wait at least that many seconds before calling GET /me/tenants or POST /me/tenants/{id}/select again. If the header is absent, back off exponentially with jitter. Already-authenticated callers do not need to do anything — their current access token keeps working until it expires.

Example response

HTTP 503 · application/problem+json
{
  "type": "https://errors.swepay.com.br/accounting-ops/identity-provider-unavailable",
  "title": "Identity Provider Unavailable",
  "status": 503,
  "detail": "NativeGuard did not answer. Sign-in and tenant switching are unavailable.",
  "instance": "/me/tenants"
}

References

Machine-readable: /accounting-ops/identity-provider-unavailable.json