{
  "type": "https://errors.swepay.com.br/native-guard/biometric-recovery-invalid-assertion",
  "service": "native-guard",
  "slug": "biometric-recovery-invalid-assertion",
  "httpStatus": 400,
  "title": "Invalid Biometric Assertion",
  "summary": "The biometric assertion sent for account recovery could not be accepted.",
  "description": "Returned by `POST /identity/v1/realms/{realm}/recovery/biometric` when the\nbiometric assertion cannot be trusted for this realm: its signature or\nstructure could not be verified against the realm's configuration, it does\nnot report a successful verification, or it was issued for a different\ntenant. No recovery token is issued.\n\n`detail` gives a short reason. Its wording is not part of the contract — do\nnot branch on it.\n",
  "commonCauses": [
    "The assertion is malformed, truncated, or was altered in transit.",
    "The signature, issuer or audience does not match what the realm is configured to trust.",
    "The biometric verification did not end with a `Verified` decision.",
    "The assertion was issued for a different tenant than the realm in the path."
  ],
  "clientAction": "Do not resend the same assertion — it will be rejected again. Run a new\nbiometric verification for this realm with purpose `Recovery` and submit the\nnew assertion exactly as received.\n\nIf every fresh assertion is rejected, the realm's biometrics configuration\n(JWKS URL, issuer, audience) probably does not match the issuer; that has to\nbe fixed by the realm administrator. Each attempt counts toward the recovery\nrate limit — see [Too Many Requests](/common/too-many-requests).\n",
  "exampleResponse": {
    "type": "https://errors.swepay.com.br/native-guard/biometric-recovery-invalid-assertion",
    "title": "Invalid Biometric Assertion",
    "status": 400,
    "detail": "The biometric assertion could not be verified.",
    "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-invalid-assertion"
}