swepayError Catalog

Native Guard

Invalid Biometric Assertion 400

The biometric assertion sent to complete a step-up challenge could not be accepted.

type https://errors.swepay.com.br/native-guard/step-up-invalid-assertion

What this means

Returned by POST /identity/v1/realms/{realm}/stepup/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. The login is not completed.

The challenge is consumed by this attempt. 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

Not retryable as sent: neither the assertion nor the challengeId can be used again. Start the login again to receive a new challenge, run a new biometric verification with purpose Challenge, 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.

Example response

HTTP 400 · application/problem+json
{
  "type": "https://errors.swepay.com.br/native-guard/step-up-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/step-up-invalid-assertion.json