Cognis

Errors — User

Numeric codes follow domain × 10,000 + category × 100 + ordinal ( see defineErrors in the Cognis domain package). The Message key column is the stable key returned in API payloads; the Message column shows the copy for your current locale (same resolution as the product UI).

CodeKeyHTTPCategoryMessage keyMessage
10001USER_NOT_FOUND404Not Founduser.errors.notFoundUser not found!
10102INVALID_DATA422Validationuser.errors.invalidDataYour submission is invalid!
10104EMAIL_NOT_ALLOWED422Validationuser.errors.emailNotAllowedEmail not allowed
10106TOKEN_EXPIRED422Validationuser.signin.resetPassword.tokenExpiredYour link has expired, please request a new one
10107INVALID_CODE422Validationuser.signin.2fa.invalidCodeInvalid code
10111INVALID_PATH_PARAM400Validationuser.errors.invalidPathParamInvalid path parameter
10116INVALID_TOTP422Validationuser.signin.2fa.invalidCodeInvalid code
10117INVALID_BACKUP_CODE422Validationuser.signin.2fa.invalidCodeInvalid code
10118LAST_SIGN_IN_METHOD422Validationuser.errors.invalidDataYour submission is invalid!
10119PASSKEY_LIMIT_REACHED422Validationuser.errors.invalidDataYour submission is invalid!
10120PASSKEY_ALREADY_REGISTERED422Validationuser.security.hub.passkeys.alreadyRegisteredThis passkey is already registered. Remove the existing entry from your list if you want to replace it, or use another device or security key.
10121PASSWORD_LOGIN_NO_SECOND_FACTOR422Validationuser.signin.passwordLogin.noSecondFactorYour account has no way to verify sign-in after your password. Sign in with Google or GitHub if you use those, or contact support. To fix password sign-in, turn email verification back on in Security or enroll a passkey or authenticator app.
10203EMAIL_ALREADY_USED409Conflictuser.errors.emailAlreadyUsedEmail already in use
10305INVALID_TOKEN401Unauthorizeduser.signin.resetPassword.invalidTokenYour link is invalid, please request a new one
10308INVALID_PASSWORD401Unauthorizeduser.signin.invalidPasswordInvalid password
10309UNAUTHORIZED401Unauthorizedgeneral.errors.unauthorizedUnauthorized
10310FRESH_SESSION_REQUIRED401Unauthorizedgeneral.errors.unauthorizedUnauthorized
10313RESEND_2FA_INVALID_SESSION401Unauthorizeduser.signin.2fa.resend.invalidSessionYour login session has expired. Please sign in again to continue.
10314STEP_UP_REQUIRED401Unauthorizedgeneral.errors.unauthorizedUnauthorized
10315INVALID_PASSKEY401Unauthorizeduser.signin.invalidPasswordInvalid password
10412NOT_ALLOWED_TO_PERFORM_ACTION403Forbiddenuser.errors.notAllowedToPerformActionYou are not allowed to perform this action