Skip to content

two_factor_required

HTTP 403 · Requests and sign-in (SPEC §15.3, §20.1)

Finish signing in with your second factor: the code from your authenticator app, or your passkey.

Does retrying help?

Not as it is. Change the request as the message says, then send it again.

The response

Every Flatstack error has this shape. details, when present, says more about this case.

{
  "error": {
    "code": "two_factor_required",
    "message": "Finish signing in with your second factor: the code from your authenticator app, or your passkey.",
    "docsUrl": "https://flatstack.dev/docs/errors/two_factor_required"
  }
}

All error codes

As Markdown: errors/two_factor_required.md