---
title: Error codes
summary: Every code Tessera reports: its HTTP status, cause and fix.
section: errors
order: 0
---
# Error codes

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