{
  "type": "https://errors.swepay.com.br/native-guard/step-up-totp-missing-token",
  "service": "native-guard",
  "slug": "step-up-totp-missing-token",
  "httpStatus": 401,
  "title": "Missing Bearer Token",
  "summary": "The TOTP step-up was called without a Bearer access token.",
  "description": "Returned by `POST /identity/v1/realms/{realm}/stepup/totp` when the request\ncarries no usable `Authorization: Bearer` credential. This endpoint elevates\nthe session behind the caller's own access token, so it cannot be called\nanonymously. The TOTP code was not checked and no attempt was counted.\n\nIf a token was sent but rejected, the response is\n[Invalid Access Token](/native-guard/step-up-totp-invalid-token) instead.\n",
  "commonCauses": [
    "No `Authorization` header was sent.",
    "The header uses a scheme other than `Bearer`.",
    "The header is `Bearer` followed by an empty value."
  ],
  "clientAction": "Send the access token of the session to elevate as\n`Authorization: Bearer <token>`, together with the TOTP code in the body.\nThe request is retryable as soon as the header is present. Never log or echo\nthe token value.\n",
  "exampleResponse": {
    "type": "https://errors.swepay.com.br/native-guard/step-up-totp-missing-token",
    "title": "Missing Bearer Token",
    "status": 401,
    "detail": "A valid Bearer access token is required.",
    "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 6750 — Bearer Token Usage",
      "url": "https://www.rfc-editor.org/rfc/rfc6750"
    }
  ],
  "category": "service",
  "deprecated": false,
  "documentation": "https://errors.swepay.com.br/native-guard/step-up-totp-missing-token"
}