{
  "type": "https://errors.swepay.com.br/native-guard/step-up-totp-invalid-session",
  "service": "native-guard",
  "slug": "step-up-totp-invalid-session",
  "httpStatus": 401,
  "title": "Invalid Session",
  "summary": "The session behind the access token sent to the TOTP step-up is no longer active.",
  "description": "Returned by `POST /identity/v1/realms/{realm}/stepup/totp` when the access\ntoken itself is valid but the session it belongs to cannot be elevated: the\ntoken carries no session identifier, or that session no longer exists, has\nexpired or was terminated.\n\nA step-up elevates an existing session in place, so there must be an active\none to elevate. The TOTP code was not checked and no attempt was counted.\n",
  "commonCauses": [
    "The user signed out, or the session was terminated, after the access token was issued.",
    "The session reached its expiry while the access token was still within its lifetime.",
    "The access token is not bound to a user session."
  ],
  "clientAction": "Not retryable with tokens from that session. Sign the user in again to open\na new session, then repeat the step-up with the new access token and a\ncurrent TOTP code.\n",
  "exampleResponse": {
    "type": "https://errors.swepay.com.br/native-guard/step-up-totp-invalid-session",
    "title": "Invalid Session",
    "status": 401,
    "detail": "The session backing this access token is no longer valid.",
    "traceId": "Root=1-00000000-000000000000000000000000;Parent=0000000000000000;Sampled=0"
  },
  "relatedDocs": [
    {
      "label": "RFC 9457 — Problem Details",
      "url": "https://www.rfc-editor.org/rfc/rfc9457"
    },
    {
      "label": "RFC 9470 — OAuth 2.0 Step Up Authentication Challenge Protocol",
      "url": "https://www.rfc-editor.org/rfc/rfc9470"
    }
  ],
  "category": "service",
  "deprecated": false,
  "documentation": "https://errors.swepay.com.br/native-guard/step-up-totp-invalid-session"
}