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).
| Code | Key | HTTP | Category | Message key | Message |
|---|---|---|---|---|---|
| 10001 | USER_NOT_FOUND | 404 | Not Found | user.errors.notFound | User not found! |
| 10102 | INVALID_DATA | 422 | Validation | user.errors.invalidData | Your submission is invalid! |
| 10104 | EMAIL_NOT_ALLOWED | 422 | Validation | user.errors.emailNotAllowed | Email not allowed |
| 10106 | TOKEN_EXPIRED | 422 | Validation | user.signin.resetPassword.tokenExpired | Your link has expired, please request a new one |
| 10107 | INVALID_CODE | 422 | Validation | user.signin.2fa.invalidCode | Invalid code |
| 10111 | INVALID_PATH_PARAM | 400 | Validation | user.errors.invalidPathParam | Invalid path parameter |
| 10116 | INVALID_TOTP | 422 | Validation | user.signin.2fa.invalidCode | Invalid code |
| 10117 | INVALID_BACKUP_CODE | 422 | Validation | user.signin.2fa.invalidCode | Invalid code |
| 10118 | LAST_SIGN_IN_METHOD | 422 | Validation | user.errors.invalidData | Your submission is invalid! |
| 10119 | PASSKEY_LIMIT_REACHED | 422 | Validation | user.errors.invalidData | Your submission is invalid! |
| 10120 | PASSKEY_ALREADY_REGISTERED | 422 | Validation | user.security.hub.passkeys.alreadyRegistered | This passkey is already registered. Remove the existing entry from your list if you want to replace it, or use another device or security key. |
| 10121 | PASSWORD_LOGIN_NO_SECOND_FACTOR | 422 | Validation | user.signin.passwordLogin.noSecondFactor | Your 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. |
| 10203 | EMAIL_ALREADY_USED | 409 | Conflict | user.errors.emailAlreadyUsed | Email already in use |
| 10305 | INVALID_TOKEN | 401 | Unauthorized | user.signin.resetPassword.invalidToken | Your link is invalid, please request a new one |
| 10308 | INVALID_PASSWORD | 401 | Unauthorized | user.signin.invalidPassword | Invalid password |
| 10309 | UNAUTHORIZED | 401 | Unauthorized | general.errors.unauthorized | Unauthorized |
| 10310 | FRESH_SESSION_REQUIRED | 401 | Unauthorized | general.errors.unauthorized | Unauthorized |
| 10313 | RESEND_2FA_INVALID_SESSION | 401 | Unauthorized | user.signin.2fa.resend.invalidSession | Your login session has expired. Please sign in again to continue. |
| 10314 | STEP_UP_REQUIRED | 401 | Unauthorized | general.errors.unauthorized | Unauthorized |
| 10315 | INVALID_PASSKEY | 401 | Unauthorized | user.signin.invalidPassword | Invalid password |
| 10412 | NOT_ALLOWED_TO_PERFORM_ACTION | 403 | Forbidden | user.errors.notAllowedToPerformAction | You are not allowed to perform this action |