swepayError Catalog

Native Guard

Invalid Biometric Assertion 400

The biometric assertion sent for account recovery could not be accepted.

type https://errors.swepay.com.br/native-guard/biometric-recovery-invalid-assertion

What this means

Returned by POST /identity/v1/realms/{realm}/recovery/biometric when the biometric assertion cannot be trusted for this realm: its signature or structure could not be verified against the realm's configuration, it does not report a successful verification, or it was issued for a different tenant. No recovery token is issued.

detail gives a short reason. Its wording is not part of the contract — do not branch on it.

Common causes

  • 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.

How to resolve

Do not resend the same assertion — it will be rejected again. Run a new biometric verification for this realm with purpose Recovery and submit the new assertion exactly as received.

If every fresh assertion is rejected, the realm's biometrics configuration (JWKS URL, issuer, audience) probably does not match the issuer; that has to be fixed by the realm administrator. Each attempt counts toward the recovery rate limit — see Too Many Requests.

Example response

HTTP 400 · application/problem+json
{
  "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"
}

References

Machine-readable: /native-guard/biometric-recovery-invalid-assertion.json