Error catalog.

Every problem code a client can see, with its HTTP status, its title, and the fix to show the person.

On this page
  1. Every code
  2. After identification
  3. Setup errors

Every error the library returns reaches clients as RFC 9457 problem details (application/problem+json), from auth.Describe and authhttp.Error. Branch on code; show title and fix to people. Refusals of a need also carry a challenge: see the guide.

Every code

44 codes, in the catalog's order. Each code links to its own row.

CodeStatusTitleWhat the person sees as the fix
agent_inactive409That agent is disabledAsk its owner to enable it, or use another agent.
approval_denied403Request deniedThe person denied this request. Ask them before trying again.
approval_invalid403That approval can't be usedThe approval expired, was used, or was for a different action. Ask again.
approval_pending409Waiting for approvalWait for the person to approve, then try again. To wait in one request, retry with the header Prefer: wait=60.
claim_invalid401That claim code doesn't workCheck the code, or ask the agent to sign up again for a new one.
code_invalid401That link or code doesn't workA link or code works once, until it expires. Type a code in the tab where you started, or ask for another email.
confirm_sign_in401Sign in to confirmSign in, or enter your password, in this browser, then open the link again.
conflict409Changed at the same timeReload and try again.
depth_exceeded400Check the requestFix the request and send it again.
email_invalid400Check the email addressEnter one address, such as name@example.com, without a name or spaces.
email_unverified403Confirm your email addressOpen the link in the confirmation message, or ask for another one, then try again.
expiry_exceeded400Check the requestFix the request and send it again.
factor_exists409Already set upUse the one you have, or remove it first.
factor_rejected401That didn't workCheck it and try again, or use another way to sign in.
human_required403A person must do thisAsk the person responsible for this agent or token to do it.
invalid_request400Check the requestFix the request and send it again.
key_required400Check the requestFix the request and send it again.
last_sign_in_method409Add another way to sign in firstAdd a passkey or link a sign-in provider, then remove the password.
no_password409This account has no passwordSign in another way, or add a password.
no_verified_email409No confirmed email addressConfirm an email address for the account first.
not_agent_owner404Not foundCheck the agent ID.
not_claimed409Not claimed yetWait for a person to claim this agent, then try again.
not_found404Not foundCheck the ID. It may have been revoked or deleted.
not_rotatable400Check the requestFix the request and send it again.
parent_inactive409That session has endedSign in again, then retry.
password_breached400Choose a different passwordThis password appeared in a data breach, so attackers try it. Choose another.
password_common400Choose a different passwordThis password is one of the most common. Choose one that others are unlikely to use.
password_context400Choose a different passwordDon't build the password from your email address or this service's name: it needs 15 characters without them.
password_invalid400Choose a different passwordThe password contains bytes that aren't text. Type it again.
password_too_long400Choose a different passwordUse at most 256 characters.
password_too_short400Choose a different passwordUse at least 15 characters. A few unrelated words make a long password you can remember.
quota_exceeded403Limit reachedRevoke something you no longer use, or ask for a higher limit.
recovery_hold403Held after a recovery sign-inTry again after 14:32 UTC. If you didn't use a recovery code, choose “That wasn't me” on another signed-in device.
scope_exceeded403More access than allowedAsk only for scopes the parent session or approving person holds.
scope_missing403Missing permissionUse a session or token that has the scopes this needs.
setup_incomplete403Finish setting up your accountSave your recovery codes and type one back, and add a passkey or an authenticator app, then try again.
sign_in_incomplete401Start signing in againYour sign-in expired or is missing a step. Sign in again.
signup_rejected403Signup refusedThis server doesn't accept that signup.
step_up_required403Confirm it's youConfirm it's you with a passkey, then try again.
stronger_factor_required403Use a stronger sign-in methodAdd a passkey to your account, then try again.
throttled429Too many attemptsWait, then try again.
unauthenticated401Sign in to continueSign in again.
unavailable503Try again shortlyTry again in a few seconds.
undo_not_allowed403Use another deviceUndo the recovery from a device that was signed in before it.

When a delegation asks for a scope that the parent holds but the agent isn't allowed (AgentSpec.Scopes), scope_exceeded has the fix “Ask only for scopes the agent is allowed, or allow the agent more scopes.”

After identification

Codes that only appear after the person is identified: code_reused (a TOTP code used twice, with retry_after), factor_locked, and password_wrong (a wrong current password, from a step-up or a change). Before identification, every factor failure is factor_rejected, so responses never reveal whether an account or passkey exists. Unknown errors are internal with no detail.

Setup errors

auth.Describe is for errors from serving a request. Setup errors, such as passkey.ErrConfig, password.ErrConfig, federation.ErrConfig, an error from auth.New, and the error from authhttp.Mux.Check, aren't in this catalog: their messages name the field and the fix, so log them as they are and stop the server. Don't pass them to Describe: it has no problems for them, so most become internal, which hides the cause.