swepayError Catalog

Native Accounting Ops

Tenant Inactive 403

The tenant does not exist, or is suspended or closed.

type https://errors.swepay.com.br/accounting-ops/tenant-inactive

What this means

Returned when the tenant targeted by the request is not in a state that allows access — it was suspended or closed, or the tenant id does not correspond to any tenant known to this product. Both situations are reported the same way, so the response never discloses which tenant ids actually exist.

This can happen even with an otherwise valid, correctly tenant-scoped token: the tenant's own status changed after the token was issued.

Common causes

  • The tenant was suspended or closed after its subscription ended.
  • The tenant was deliberately deactivated by an administrator.
  • The tenant id in the request does not match any tenant known to this product.

How to resolve

Confirm the tenant's subscription and status. If the tenant was suspended or closed, billing or administrative action is needed before access returns — contact the account owner. If the tenant id looks wrong, check it against GET /me/tenants. Retrying without resolving the tenant's status will keep failing.

Example response

HTTP 403 · application/problem+json
{
  "type": "https://errors.swepay.com.br/accounting-ops/tenant-inactive",
  "title": "Tenant Inactive",
  "status": 403,
  "detail": "The tenant does not exist, or is suspended or closed.",
  "instance": "/v1/tenant"
}

References

Machine-readable: /accounting-ops/tenant-inactive.json