Second factor expired
A refusal to accept a two-factor code, because the sign-in it belongs to is no longer waiting for one.
| Field | Value |
|---|---|
type |
https://mockhub.dev/problems/second-factor-expired |
| Status | 401, or 400 when keeping a demo project |
What it means
Section titled “What it means”After your password, or GitHub or Google, accepts you, MockHub holds the sign-in open for a code. It stops waiting after five minutes, after several wrong codes, once a code has completed it, or when your password, address or other credentials change in the meantime. A code sent after that has nothing to complete, however right it is.
Status
Section titled “Status”401 when you sign in. 400 when you keep a demo project, because a 401 there would end the demo session you are still using.
Where it comes from
Section titled “Where it comes from”From the Two-factor authentication page, after Verify. The page shows the detail with Sign in again:
detail |
|---|
This sign-in expired. Sign in again. |
This type carries no extension members.
{ "type": "https://mockhub.dev/problems/second-factor-expired", "title": "Sign-in expired", "status": 401, "detail": "This sign-in expired. Sign in again."}What to do
Section titled “What to do”Sign in again with your password or provider, then give a fresh code. A wrong code on a sign-in that is still open is a different answer with no type; it keeps the page and lets you try again.