swepayError Catalog

Native Guard

Replayed Biometric Assertion 409

The biometric assertion sent for account recovery was already used.

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

What this means

Returned by POST /identity/v1/realms/{realm}/recovery/biometric when the assertion has already been consumed. A biometric assertion is single-use within a realm, and the same guard covers both account recovery and step-up.

The assertion is recorded as used as soon as it passes verification, before the recovery token is issued. An assertion is therefore consumed even when the first request ended in Unknown User, or when its response never reached the client.

Common causes

  • The client retried a request that the server had already processed (timeout or dropped connection).
  • The same assertion was submitted twice, for example by a double submit.
  • The assertion was already used in another recovery or step-up request.

How to resolve

Not retryable with the same assertion. Run a new biometric verification with purpose Recovery and submit the new assertion.

If the first request succeeded but its response was lost, the recovery token it issued cannot be retrieved — start the recovery again. Do not retry this endpoint automatically on network errors; ask the user to verify again instead.

Example response

HTTP 409 · application/problem+json
{
  "type": "https://errors.swepay.com.br/native-guard/biometric-recovery-replayed-assertion",
  "title": "Replayed Biometric Assertion",
  "status": 409,
  "detail": "This biometric assertion has already been used.",
  "traceId": "Root=1-00000000-000000000000000000000000;Parent=0000000000000000;Sampled=0"
}

References

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