{
  "type": "https://errors.swepay.com.br/native-guard/biometric-recovery-unknown-user",
  "service": "native-guard",
  "slug": "biometric-recovery-unknown-user",
  "httpStatus": 404,
  "title": "Unknown User",
  "summary": "The verified assertion does not correspond to an account that can be recovered in this realm.",
  "description": "Returned by `POST /identity/v1/realms/{realm}/recovery/biometric` when the\nassertion was verified successfully, but the subject it identifies does not\ncorrespond to an account that can be recovered in this realm. No recovery\ntoken is issued.\n\nThis response is only reached with a valid, verified assertion, and it does\nnot say why the account is unavailable. The assertion is consumed by this\nattempt.\n",
  "commonCauses": [
    "The subject reference in the assertion uses a different kind of identifier than the realm is configured to match on (`biometrics.userRefClaimMapping`).",
    "The assertion was issued for a person enrolled under a different realm or environment.",
    "The account is not available for recovery in this realm."
  ],
  "clientAction": "Not retryable: the same assertion cannot be used again, and a new one for\nthe same person will produce the same result until the cause is fixed.\n\nShow the end user a generic message such as \"recovery could not be\ncompleted\" — do not present this outcome as a statement about whether an\naccount exists. If you operate the realm, check that the identifier carried\nby the assertion matches the realm's `userRefClaimMapping` (`email`,\n`username` or `userId`).\n",
  "exampleResponse": {
    "type": "https://errors.swepay.com.br/native-guard/biometric-recovery-unknown-user",
    "title": "Unknown User",
    "status": 404,
    "detail": "The assertion does not map to a known user in this realm.",
    "traceId": "Root=1-00000000-000000000000000000000000;Parent=0000000000000000;Sampled=0"
  },
  "relatedDocs": [
    {
      "label": "RFC 9457 — Problem Details",
      "url": "https://www.rfc-editor.org/rfc/rfc9457"
    }
  ],
  "category": "service",
  "deprecated": false,
  "documentation": "https://errors.swepay.com.br/native-guard/biometric-recovery-unknown-user"
}