swepayError Catalog

Native Guard

Unknown User 404

The verified assertion does not correspond to an account that can be recovered in this realm.

type https://errors.swepay.com.br/native-guard/biometric-recovery-unknown-user

What this means

Returned by POST /identity/v1/realms/{realm}/recovery/biometric when the assertion was verified successfully, but the subject it identifies does not correspond to an account that can be recovered in this realm. No recovery token is issued.

This response is only reached with a valid, verified assertion, and it does not say why the account is unavailable. The assertion is consumed by this attempt.

Common causes

  • The subject reference in the assertion uses a different kind of identifier than the realm is configured to match on (`biometrics.userRefClaimMapping`).
  • The assertion was issued for a person enrolled under a different realm or environment.
  • The account is not available for recovery in this realm.

How to resolve

Not retryable: the same assertion cannot be used again, and a new one for the same person will produce the same result until the cause is fixed.

Show the end user a generic message such as "recovery could not be completed" — do not present this outcome as a statement about whether an account exists. If you operate the realm, check that the identifier carried by the assertion matches the realm's userRefClaimMapping (email, username or userId).

Example response

HTTP 404 · application/problem+json
{
  "type": "https://errors.swepay.com.br/native-guard/biometric-recovery-unknown-user",
  "title": "Unknown User",
  "status": 404,
  "detail": "The assertion does not map to a known user in this realm.",
  "traceId": "Root=1-00000000-000000000000000000000000;Parent=0000000000000000;Sampled=0"
}

References

Machine-readable: /native-guard/biometric-recovery-unknown-user.json