Error map

state mismatch OAuth callback error: state mismatch / Unable to verify authorization request state / State cookie was missing

Authentication · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

state mismatch — OAuth callback error: state mismatch / Unable to verify authorization request state / State cookie was missing (Authentication)state misma…auth/popup-closed-by-user — Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request (Authentication)auth/popup-closed-b…nonce mismatch — OIDC Error: nonce mismatch / ID token nonce did not match / unexpected nonce (Authentication)nonce mismatch431 — HTTP 431 Request Header Fields Too Large (HTTP)431419 Page Expired — Laravel: 419 Page Expired (CSRF token mismatch) (PHP)419 Page ExpiredPKCE verification failed — OAuth PKCE error: invalid_grant — PKCE verification failed / code_verifier does not match code_challenge / code_challenge required (Authentication)PKCE verification f…bad_verification_code — GitHub OAuth: {"error":"bad_verification_code","error_description":"The code passed is incorrect or expired."} (Authentication)bad_verification_co…deleted_client — Google OAuth: Error 401: deleted_client — The OAuth client was deleted (Authentication)deleted_clientDjango CSRF — Forbidden (403) CSRF verification failed. Request aborted. (Python)Django CSRFCookies are blocked — WordPress login: Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. (WordPress)Cookies are blockedActionController::InvalidAuthenticityToken — Rails: ActionController::InvalidAuthenticityToken (Can't verify CSRF token authenticity) (Ruby / Rails)ActionController::I…login_required — OIDC Error: login_required / interaction_required / consent_required (silent authentication failed) (Authentication)login_requiredinvalid_grant — invalid_grant: Token has been expired or revoked (application default credentials) (Google Cloud / Firebase)invalid_grantAADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016Failed to fetch — TypeError: Failed to fetch / NetworkError when attempting to fetch resource (JavaScript)Failed to fetchinvalid_grant — OAuth 2.0 Error: invalid_grant (Authentication)invalid_grantwebhook signature — Webhook signature verification failed (Stripe, Razorpay, GitHub…) (API)webhook signatureinvalid_token — invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed) (Authentication)invalid_tokenSecurityException: Permission Denial — java.lang.SecurityException: Permission Denial ... requires android.permission.X (Android)SecurityException: …400 — HTTP 400 Bad Request (HTTP)400413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413414 — HTTP 414 URI Too Long (HTTP)414403 — HTTP 403 Forbidden (HTTP)403No application encryption key — Laravel: No application encryption key has been specified. (PHP)No application encr…Target class does not exist — Laravel: Target class [App\Http\Controllers\X] does not exist. (PHP)Target class does n…unsupported_response_type — OAuth 2.0 Error: unsupported_response_type (Authentication)unsupported_respons…invalid_request — OAuth 2.0 Error: invalid_request (missing or invalid parameter) (Authentication)invalid_requestauth/unauthorized-domain — Firebase Auth: auth/unauthorized-domain — This domain is not authorized for OAuth operations for your Firebase project (Authentication)auth/unauthorized-d…redirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…invalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientinvalid_scope — OAuth 2.0 Error: invalid_scope / insufficient_scope (Authentication)invalid_scopeaccess_denied — OAuth 2.0 Error: access_denied (The user or authorization server denied the request) (Authentication)access_deniedunauthorized_client — OAuth 2.0 Error: unauthorized_client (client not allowed to use this grant type) (Authentication)unauthorized_clientunsupported_grant_type — OAuth 2.0 Error: unsupported_grant_type (Authentication)unsupported_grant_t…Python not found — Python was not found; run without arguments to install from the Microsoft Store (Python)Python not foundDjango no such table — django.db.utils.OperationalError: no such table: app_model (Python)Django no such tableImproperlyConfigured — django.core.exceptions.ImproperlyConfigured: settings are not configured / SECRET_KEY must not be empty (Python)ImproperlyConfiguredHeaders already sent — Warning: Cannot modify header information - headers already sent (PHP)Headers already sentERR_TOO_MANY_REDIRECTS (WordPress) — WordPress: ERR_TOO_MANY_REDIRECTS / redirected you too many times on wp-admin or the whole site (WordPress)ERR_TOO_MANY_REDIRE…404 except homepage — WordPress: 404 Not Found on every page except the homepage (permalinks / .htaccess / Nginx rules) (WordPress)404 except homepageinvalid csrf token — ForbiddenError: invalid csrf token (EBADCSRFTOKEN) (Authentication)invalid csrf tokenundefined method for nil — Ruby: NoMethodError: undefined method `x' for nil (nil:NilClass) (Ruby / Rails)undefined method fo…ActiveRecord::PendingMigrationError — Rails: ActiveRecord::PendingMigrationError — Migrations are pending. To resolve this issue, run: bin/rails db:migrate (Ruby / Rails)ActiveRecord::Pendi…ExpiredToken — AWS: ExpiredToken — The security token included in the request is expired (AWS)ExpiredTokensession_start() — Warning: session_start(): Session cannot be started after headers have already been sent (PHP)session_start()session save path — Warning: session_start(): open(/var/lib/php/sessions/sess_x, O_RDWR) failed: Permission denied (PHP)session save pathAADSTS500113 — AADSTS500113: No reply address is registered for the application (Azure)AADSTS500113Access blocked: has not completed the Google verification process — Google OAuth: Error 403: access_denied — The developer hasn't given you access to this app / has not completed the Google verification process (Authentication)Access blocked: has…Google hasn't verified this app — Google OAuth: Google hasn't verified this app / This app isn't verified (Authentication)Google hasn't verif…

Directly related (12)

auth/popup-closed-by-userAuthentication

Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request

The OAuth popup for Google/GitHub sign-in was closed, blocked by the browser, or replaced by another popup request.

nonce mismatchAuthentication

OIDC Error: nonce mismatch / ID token nonce did not match / unexpected nonce

The nonce inside the ID token doesn’t match the one the app stored — the replay protection check failed.

431HTTP

HTTP 431 Request Header Fields Too Large

The request headers — almost always cookies — exceed the server’s size limit.

419 Page ExpiredPHP

Laravel: 419 Page Expired (CSRF token mismatch)

Laravel rejected a POST because the CSRF token was missing, expired or didn’t match the session.

PKCE verification failedAuthentication

OAuth PKCE error: invalid_grant — PKCE verification failed / code_verifier does not match code_challenge / code_challenge required

The code_verifier sent to the token endpoint doesn’t match the code_challenge from the authorize request, or PKCE is required but…

bad_verification_codeAuthentication

GitHub OAuth: {"error":"bad_verification_code","error_description":"The code passed is incorrect or expired."}

The authorization code sent to GitHub’s token endpoint was already used, expired (10 minutes), or belongs to another OAuth app.

deleted_clientAuthentication

Google OAuth: Error 401: deleted_client — The OAuth client was deleted

The OAuth client ID used in the request has been deleted from the Google Cloud project.

Django CSRFPython

Forbidden (403) CSRF verification failed. Request aborted.

Django rejected a POST because the CSRF token was missing, wrong, or the request origin isn’t trusted.

Cookies are blockedWordPress

WordPress login: Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

WordPress’s test cookie wasn’t returned on login — often a siteurl/home or domain mismatch, caching of wp-login.php, or headers a…

ActionController::InvalidAuthenticityTokenRuby / Rails

Rails: ActionController::InvalidAuthenticityToken (Can't verify CSRF token authenticity)

A non-GET request arrived without a valid CSRF token for the session.

login_requiredAuthentication

OIDC Error: login_required / interaction_required / consent_required (silent authentication failed)

A silent sign-in (prompt=none, iframe or refresh) couldn’t complete because the user must interact — no session, consent needed,…

invalid_grantGoogle Cloud / Firebase

invalid_grant: Token has been expired or revoked (application default credentials)

The stored refresh token no longer works, so library calls fail until you log in again.

Two steps away (36)

AADSTS700016Azure

Azure AD (Entra ID): AADSTS700016 Application not found in the directory

The client ID in your sign-in request doesn’t exist in the tenant you’re authenticating against.

Failed to fetchJavaScript

TypeError: Failed to fetch / NetworkError when attempting to fetch resource

The browser couldn’t complete the request at the network level — CORS, DNS, offline, blocked mixed content, or the server refused…

invalid_grantAuthentication

OAuth 2.0 Error: invalid_grant

The authorization code, refresh token or credentials sent to the token endpoint are invalid, expired, already used or were issued…

webhook signatureAPI

Webhook signature verification failed (Stripe, Razorpay, GitHub…)

Your endpoint computed a different HMAC signature than the one the provider sent, so the webhook is rejected.

invalid_tokenAuthentication

invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed)

A token was sent but the server couldn’t verify it — bad signature, malformed, revoked, or issued for another audience or environ…

SecurityException: Permission DenialAndroid

java.lang.SecurityException: Permission Denial ... requires android.permission.X

The app called an API that needs a permission it hasn’t declared or the user hasn’t granted at runtime.

400HTTP

HTTP 400 Bad Request

The server could not understand the request because its syntax, headers or body are malformed or invalid.

413HTTP

HTTP 413 Content Too Large (Request Entity Too Large)

The request body is bigger than the server is willing to accept — usually a file upload over the configured limit.

414HTTP

HTTP 414 URI Too Long

The request URL (usually the query string) is longer than the server will accept.

403HTTP

HTTP 403 Forbidden

The server understood the request but refuses to authorize it — you (or the server process) are not allowed to access this resour…

No application encryption keyPHP

Laravel: No application encryption key has been specified.

Laravel’s APP_KEY is missing, so it can’t encrypt sessions and cookies.

Target class does not existPHP

Laravel: Target class [App\Http\Controllers\X] does not exist.

Laravel’s container couldn’t find the controller or class named in a route or binding.

unsupported_response_typeAuthentication

OAuth 2.0 Error: unsupported_response_type

The authorize request asked for a response_type the client or server doesn’t allow — e.g. token (implicit) when only code is enab…

invalid_requestAuthentication

OAuth 2.0 Error: invalid_request (missing or invalid parameter)

The authorization or token request is malformed — a required parameter is missing, duplicated, or has an invalid value.

auth/unauthorized-domainAuthentication

Firebase Auth: auth/unauthorized-domain — This domain is not authorized for OAuth operations for your Firebase project

The site’s domain isn’t listed in Firebase Authentication → Settings → Authorized domains.

redirect_uri_mismatchAuthentication

OAuth Error: redirect_uri_mismatch

The redirect URI in your OAuth request doesn’t exactly match one registered for the client in the provider’s console.

invalid_clientAuthentication

OAuth 2.0 Error: invalid_client

The OAuth server couldn’t authenticate your application — wrong client ID/secret, wrong auth method, or the client doesn’t exist…

invalid_scopeAuthentication

OAuth 2.0 Error: invalid_scope / insufficient_scope

The requested scope is unknown or not allowed for this client — or the token lacks the scope the API endpoint requires.

access_deniedAuthentication

OAuth 2.0 Error: access_denied (The user or authorization server denied the request)

The authorization request was refused — the user clicked Cancel/Deny on the consent screen, or a policy denied access.

unauthorized_clientAuthentication

OAuth 2.0 Error: unauthorized_client (client not allowed to use this grant type)

The client exists, but isn’t allowed to use the requested flow (grant type or response type).

unsupported_grant_typeAuthentication

OAuth 2.0 Error: unsupported_grant_type

The token endpoint didn’t recognise grant_type — usually because the body wasn’t sent as application/x-www-form-urlencoded, or th…

Python not foundPython

Python was not found; run without arguments to install from the Microsoft Store

Windows ran the Microsoft Store “App execution alias” instead of a real Python installation.

Django no such tablePython

django.db.utils.OperationalError: no such table: app_model

Django queried a table that hasn’t been created — migrations missing or not applied.

ImproperlyConfiguredPython

django.core.exceptions.ImproperlyConfigured: settings are not configured / SECRET_KEY must not be empty

Django can’t load its settings — DJANGO_SETTINGS_MODULE unset, a required setting missing, or an environment variable not provide…

Headers already sentPHP

Warning: Cannot modify header information - headers already sent

You called `header()`, `setcookie()` or `session_start()` after output had already been sent to the browser.

ERR_TOO_MANY_REDIRECTS (WordPress)WordPress

WordPress: ERR_TOO_MANY_REDIRECTS / redirected you too many times on wp-admin or the whole site

WordPress and the server/proxy keep redirecting to each other — usually siteurl/home mismatch (http vs https, www vs non-www) or…

404 except homepageWordPress

WordPress: 404 Not Found on every page except the homepage (permalinks / .htaccess / Nginx rules)

Pretty permalinks aren’t being routed to index.php — .htaccess is missing/ignored (Apache) or Nginx lacks try_files.

invalid csrf tokenAuthentication

ForbiddenError: invalid csrf token (EBADCSRFTOKEN)

The request’s CSRF token is missing or doesn’t match the token tied to the user’s session/cookie.

undefined method for nilRuby / Rails

Ruby: NoMethodError: undefined method `x' for nil (nil:NilClass)

You called a method on nil — the object you expected (a record, hash value, param) wasn’t there.

ActiveRecord::PendingMigrationErrorRuby / Rails

Rails: ActiveRecord::PendingMigrationError — Migrations are pending. To resolve this issue, run: bin/rails db:migrate

The database schema is behind the migration files in the app.

ExpiredTokenAWS

AWS: ExpiredToken — The security token included in the request is expired

Temporary AWS credentials (STS/SSO/assumed role) have expired.

session_start()PHP

Warning: session_start(): Session cannot be started after headers have already been sent

session_start() ran after output was sent, so PHP can’t set the session cookie.

session save pathPHP

Warning: session_start(): open(/var/lib/php/sessions/sess_x, O_RDWR) failed: Permission denied

PHP can’t write session files to the configured session.save_path.

AADSTS500113Azure

AADSTS500113: No reply address is registered for the application

The app registration has no redirect URI for the platform being used, so Entra ID has nowhere to send the response.

Access blocked: has not completed the Google verification processAuthentication

Google OAuth: Error 403: access_denied — The developer hasn't given you access to this app / has not completed the Google verification process

The Google OAuth app is in “Testing” publishing status and the signing-in account isn’t listed as a test user.

Google hasn't verified this appAuthentication

Google OAuth: Google hasn't verified this app / This app isn't verified

The OAuth app requests sensitive or restricted scopes and hasn’t passed Google’s verification, so users see a warning screen.