Skip to main content

Error codes

If a request requires MFA and the user hasn’t completed it, Privy returns a 401 with one of these error codes: Retry with a new user key that records the MFA. Resending the same signed request fails again. The React SDK handles both errors for you. It prompts the user to enroll or verify, then retries the request. With a server SDK, verify or enroll the user, then retry with the new MFA token. See authorizing actions.

Handling missing MFA on intents

For an intent approval, Privy saves the approval and the intent stays pending. To complete it, the user approves again with a new signature from a user key that records the MFA.