{
  "type": "https://errors.swepay.com.br/native-guard/memberships-missing-token",
  "service": "native-guard",
  "slug": "memberships-missing-token",
  "httpStatus": 401,
  "title": "Missing Bearer Token",
  "summary": "The membership listing was called without a Bearer access token.",
  "description": "Returned by `GET /identity/v1/realms/{realm}/me/memberships` when the request\ncarries no usable `Authorization: Bearer` credential. This endpoint lists the\nmemberships of the user identified by the access token, so it cannot be\ncalled anonymously.\n\nIf a token was sent but rejected, the response is\n[Invalid Access Token](/native-guard/memberships-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 user's access token as `Authorization: Bearer <token>`. The request\nis retryable as soon as the header is present. Never log or echo the token\nvalue.\n",
  "exampleResponse": {
    "type": "https://errors.swepay.com.br/native-guard/memberships-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/memberships-missing-token"
}