Error codes
Every code Tessera reports: its HTTP status, cause and fix.
Every failure Tessera reports has a stable code, an HTTP status, a cause and a fix. Use the code, not the message text, when your program decides what to do.
| Code | HTTP status | Meaning |
|---|---|---|
access_denied |
400 | Access denied |
access_token_invalid |
401 | Access token invalid |
acr_values_unsupported |
400 | acr_values not supported |
app_changed |
412 | App changed since it was read |
app_clients_locked |
403 | App clients are fixed for an app-scoped admin |
app_not_found |
404 | App not found |
assertion_invalid |
400 | Assertion invalid |
assertion_replayed |
400 | Assertion replayed |
assertion_untrusted |
400 | Assertion issuer not trusted |
audience_invalid |
400 | Audience is not a valid API address |
audience_not_allowed |
403 | Audience not allowed for an app-scoped admin |
audience_taken |
409 | Audience already used by another app |
authorization_code_invalid |
400 | Authorization code invalid |
authorization_pending |
400 | Authorization pending |
bad_request |
400 | Bad request |
client_access_denied |
400 | Client access denied |
client_authentication_failed |
401 | Client authentication failed |
client_grant_not_allowed |
400 | Grant type not allowed for this client |
client_key_not_registered |
401 | Client key not registered |
client_metadata_invalid |
400 | Client metadata invalid |
client_not_found |
404 | Client not found |
code_verifier_invalid |
400 | PKCE code_verifier invalid |
conflict |
409 | Conflict |
consent_required |
400 | Delegation ended, ask the user again |
csrf_mismatch |
400 | Form expired or tampered |
cursor_expired |
400 | Paging cursor expired |
delegation_not_enabled |
400 | Client cannot act for users |
delegation_paused |
400 | Delegation paused by the user |
destination_not_public |
400 | Destination is not a public URL |
device_code_expired |
400 | Device code expired |
device_code_invalid |
400 | Device code invalid |
email_code_invalid |
401 | Email code not accepted |
email_not_verified |
401 | Email not verified |
expired_token |
400 | Token expired |
federation_tenant_required |
400 | Microsoft tenant required |
forbidden |
403 | Forbidden |
form_malformed |
400 | Form could not be read |
grant_shortens_end |
409 | A grant cannot shorten a role already held |
group_not_found |
404 | Group not found |
host_not_registered |
404 | Host not registered |
internal_error |
500 | Internal error |
introspection_requires_confidential_client |
401 | Introspection requires a confidential client |
invalid_client |
401 | Invalid client |
invalid_grant |
400 | Invalid grant |
invalid_request |
400 | Invalid request |
invalid_scope |
400 | Invalid scope |
invalid_target |
400 | Invalid target |
invite_limit_reached |
409 | Invite limit reached |
invite_not_found |
404 | Invite not found |
invite_request_decided |
409 | Invite request already decided |
invite_role_ceiling |
403 | Invite beyond the client's ceiling |
legacy_actor_disabled |
400 | Agent id actor not accepted |
link_expired |
400 | Link expired |
logout_hint_client_mismatch |
400 | Logout hint belongs to another client |
max_age_invalid |
400 | max_age invalid |
mfa_challenge_invalid |
400 | Second-factor challenge invalid |
mfa_setup_needs_admin |
403 | Two-step verification setup needs an administrator |
not_entitled |
403 | Not enabled for this realm |
not_found |
404 | Not found |
offline_access_not_allowed |
400 | offline_access needs the refresh_token grant |
passkey_not_registered |
401 | Passkey is for a different account |
password_common |
400 | Password too common |
password_contains_email |
400 | Password contains your email |
password_too_long |
400 | Password too long |
password_too_short |
400 | Password too short |
payload_too_large |
413 | Request too large |
pkce_required |
400 | PKCE required |
rate_limited |
429 | Rate limited |
realm_not_found |
404 | Realm not found |
redirect_uri_invalid |
400 | Redirect URI invalid |
redirect_uri_mismatch |
400 | Redirect URI does not match |
refresh_token_expired |
400 | Refresh token expired |
refresh_token_invalid |
400 | Refresh token invalid |
refresh_token_revoked |
400 | Refresh token revoked |
resource_invalid |
400 | Resource indicator invalid |
resource_not_allowed |
400 | Resource not allowed |
response_mode_invalid |
400 | response_mode invalid |
response_type_unsupported |
400 | Response type not supported |
route_not_found |
404 | Route not found |
scope_not_allowed |
400 | Scope not allowed |
server_busy |
503 | Server busy |
server_error |
500 | Server error |
service_unavailable |
503 | Service unavailable |
session_exceeds_refresh_lifetime |
400 | Session time is longer than the app time |
session_idle_exceeds_lifetime |
400 | Idle time is longer than the session time |
sign_in_expired |
400 | Sign-in expired |
sign_in_failed |
401 | Sign-in failed |
sign_in_unavailable |
500 | Sign-in unavailable |
sign_up_not_allowed |
403 | Sign-up not allowed |
sign_up_rejected |
400 | Sign-up rejected |
signups_full |
403 | Sign-ups are full for now |
slow_down |
400 | Polling too fast |
state_required |
400 | State required |
temporarily_unavailable |
503 | Temporarily unavailable |
token_issuance_failed |
500 | Token issuance failed |
turnstile_failed |
403 | Human check failed |
unauthorized |
401 | Unauthorized |
unauthorized_client |
400 | Unauthorized client |
unsupported_grant_type |
400 | Grant type not supported |
use_dpop_nonce |
400 | DPoP nonce required |
user_not_found |
404 | User not found |