{
  "type": "https://errors.swepay.com.br/native-guard/biometric-recovery-invalid-recovery-token",
  "service": "native-guard",
  "slug": "biometric-recovery-invalid-recovery-token",
  "httpStatus": 400,
  "title": "Invalid Recovery Token",
  "summary": "The recovery token is invalid, expired, or was already used.",
  "description": "Returned by `POST /identity/v1/realms/{realm}/recovery/password` when the\nrecovery token cannot be used to set a new password. The password was not\nchanged.\n\nA recovery token is issued by `POST /identity/v1/realms/{realm}/recovery/biometric`,\nis valid for a few minutes and can be used once. The response is the same\nwhether the token is malformed, unknown, expired or already used — it\ndeliberately does not say which.\n",
  "commonCauses": [
    "The token expired before the new password was submitted.",
    "The token was already used, for example when a request that had succeeded was sent again.",
    "The token was truncated or altered, or sent to a different realm than the one that issued it."
  ],
  "clientAction": "Not retryable with the same token. Start the recovery again: run a new\nbiometric verification, exchange it for a new recovery token, and submit the\nnew password promptly.\n\nIf an earlier password request may have succeeded (timeout or dropped\nconnection), let the user try to sign in with the new password before\nstarting over. Never log or echo the recovery token.\n",
  "exampleResponse": {
    "type": "https://errors.swepay.com.br/native-guard/biometric-recovery-invalid-recovery-token",
    "title": "Invalid Recovery Token",
    "status": 400,
    "detail": "The recovery token is invalid, expired, or already used.",
    "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-recovery-token"
}