#
Troubleshooting
Troubleshooting
A catalog error prints as Error (CODE): message plus a next step; under --json it is {code, error, next}. Match CODE to the row. Never retry in a loop.
SELF_SERVE_SIGNUP_DISABLED: Signup is not open yet. Tell the human; try again later.TERMS_NOT_ACCEPTED: The human has not accepted. Show the Terms and Privacy links and ask again.CLI_SIGNUP_CODE_COOLDOWN: A code was sent recently (60 seconds), or a locked code needs up to 30 minutes. Wait the stated seconds, then re-runcofactor signup --email <email> --accept-terms.CLI_SIGNUP_INVALID_CODE: Wrong or expired code. After 5 wrong tries it stops working (wrong tries carry over to a new code). Re-run signup for a new code and ask the human to read the newest email. Never guess.CLI_SIGNUP_INVALID_EMAIL: Ask the human to check the address.VERIFICATION_EMAIL_SEND_FAILED: Try again in a minute. If it repeats, tell the human the time and error.CLI_SIGNUP_WORKSPACE_REQUIRED: New account: re-runsignup verifywith--organization "<name>"(seeworkspace).CLI_SIGNUP_WORKSPACE_CHOICE_REQUIRED: Several organizations: ask which, re-run with--organization <id|slug|name>.CLI_SIGNUP_MFA_REQUIRED: This account uses MFA: runcofactor login(browser approval).- (error says to use
cofactor login): This account must use the browser login: runcofactor login. ORGANIZATION_DISABLED: The organization is disabled. Tell the human to contact support or an organization admin, or sign in to another organization with--organization <id>.ORGANIZATION_ACCESS_DENIED: No access to that organization. Ask an organization admin, or runcofactor login.FREE_WORKSPACE_EXISTS: The account already has a Free organization (each person gets one). Tell the human to upgrade it from Usage & billing, or ask an organization admin for access to another organization.ACCOUNT_DEACTIVATED: Contact support or an organization admin.CLI_WEB_LINK_INVALID_DESTINATION:cofactor open <path>takes a same-origin app path such as/applications, never/loginor/auth/. Or runcofactor openwith no path.- (HTTP 429, "Too many requests"): Wait a minute and retry once.
- Not signed in / session ended:
cofactor setup status --jsonfails (a 401 means the session is dead;whoamiis offline and only checks expiry): runcofactor signup --email <email> --accept-terms(orcofactor login). - Handoff link expired or used: Links work once, for 5 minutes. Run
cofactor openorcofactor github connectagain for a new one. - "Cross-site" handoff in the browser: The human should paste the link into the address bar.
- Unknown command, a usage error for a command this guide names (
signup,setup update,setup guide), orsetup status --jsonwith notrackingUrlorprogress: The CLI is old: runcofactor upgrade, then retry once. signup verify --jsonsucceeded but has notrackingUrl: the CLI is old. Runcofactor upgrade, thencofactor open --no-openand give the human the link it prints as the tracking link (it lasts 5 minutes).- Guide shows "bundled" on stderr: The served copy was unreachable; the bundled copy is fine.
- No network or no browser: The CLI alone still works: print links with
--no-openand hand them to the human.
If the cause is not here, stop and give the human the exact command, the error text and the time. Run cofactor feedback "<what happened, what would have helped>" --topic instructions (no secrets, customer data or real names).