Error map

unsupported_grant_type OAuth 2.0 Error: unsupported_grant_type

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.

unsupported_grant_type — OAuth 2.0 Error: unsupported_grant_type (Authentication)unsupported…auth/popup-closed-by-user — Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request (Authentication)auth/popup-closed-b…invalid_request — OAuth 2.0 Error: invalid_request (missing or invalid parameter) (Authentication)invalid_requestbad_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_cliententity.parse.failed — API Error: Malformed JSON in request body (entity.parse.failed / JSON parse error) (API)entity.parse.failedinvalid_grant — invalid_grant: Token has been expired or revoked (application default credentials) (Google Cloud / Firebase)invalid_grantunauthorized_client — OAuth 2.0 Error: unauthorized_client (client not allowed to use this grant type) (Authentication)unauthorized_clientauth/unauthorized-domain — Firebase Auth: auth/unauthorized-domain — This domain is not authorized for OAuth operations for your Firebase project (Authentication)auth/unauthorized-d…auth/account-exists-with-different-credential — Firebase Auth: account exists with a different credential (same email, other provider) (Google Cloud / Firebase)auth/account-exists…401 — 401 Bearer error="invalid_token" (HTTP)401403 — 403 Bearer error="insufficient_scope" (HTTP)403invalid_token_response — [invalid_token_response] An error occurred while attempting to retrieve the OAuth 2.0 Access Token Response (Authentication)invalid_token_respo…AADSTS700016 — 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_grant400 — HTTP 400 Bad Request (HTTP)400redirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…parameter_missing — API Error: Missing required parameter (parameter_missing / "x" is required) (API)parameter_missinginvalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientinvalid_scope — OAuth 2.0 Error: invalid_scope / insufficient_scope (Authentication)invalid_scopeAADSTS500113 — AADSTS500113: No reply address is registered for the application (Azure)AADSTS500113access_denied — OAuth 2.0 Error: access_denied (The user or authorization server denied the request) (Authentication)access_deniedunsupported_response_type — OAuth 2.0 Error: unsupported_response_type (Authentication)unsupported_respons…PKCE verification failed — OAuth PKCE error: invalid_grant — PKCE verification failed / code_verifier does not match code_challenge / code_challenge required (Authentication)PKCE verification f…415 — HTTP 415 Unsupported Media Type (HTTP)415SyntaxError: JSON — SyntaxError: Unexpected token < in JSON at position 0 (JavaScript)SyntaxError: JSON411 — HTTP 411 Length Required (HTTP)411state mismatch — OAuth callback error: state mismatch / Unable to verify authorization request state / State cookie was missing (Authentication)state mismatchAccess 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…secretOrPrivateKey must have a value — Error: secretOrPrivateKey must have a value (jsonwebtoken sign) (Authentication)secretOrPrivateKey …NO_SECRET — NextAuth / Auth.js: [next-auth][error][NO_SECRET] Please define a `secret` in production / MissingSecret (Authentication)NO_SECRETMongoParseError — MongoDB: MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://" (MongoDB)MongoParseErrordisallowed_useragent — Google OAuth: Error 403: disallowed_useragent (sign-in from an embedded WebView) (Authentication)disallowed_useragentauth/invalid-credential — Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials) (Authentication)auth/invalid-creden…auth/too-many-requests — Firebase Auth: auth/too-many-requests — Access to this account has been temporarily disabled due to many failed login attempts (Authentication)auth/too-many-reque…Invalid parameter: redirect_uri — Keycloak: We are sorry... Invalid parameter: redirect_uri (Authentication)Invalid parameter: …OAuthAccountNotLinked — NextAuth / Auth.js: OAuthAccountNotLinked — To confirm your identity, sign in with the same account you used originally (Authentication)OAuthAccountNotLink…gcloud: Reauthentication failed / invalid_grant — gcloud: ERROR: (gcloud.auth.print-access-token) There was a problem refreshing your current auth tokens: Reauthentication failed. cannot prompt during non-interactive execution (Google Cloud / Firebase)gcloud: Reauthentic…401 — HTTP 401 Unauthorized (HTTP)401Key path oauth-private.key does not exist or is not readable — Laravel Passport: LogicException: Key path "file:///var/www/storage/oauth-private.key" does not exist or is not readable (Laravel)Key path oauth-priv…102 — HTTP 102 Processing (HTTP)102403 — HTTP 403 Forbidden (HTTP)403ReferenceError — ReferenceError: x is not defined (JavaScript)ReferenceErrorNameError — NameError: name 'x' is not defined (Python)NameErrorBad credentials — Spring Security: BadCredentialsException: Bad credentials (Authentication)Bad credentialsno PasswordEncoder — IllegalArgumentException: There is no PasswordEncoder mapped for the id "null" (Authentication)no PasswordEncoderdoes not look like BCrypt — WARN: Encoded password does not look like BCrypt (Authentication)does not look like …

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.

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.

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.

entity.parse.failedAPI

API Error: Malformed JSON in request body (entity.parse.failed / JSON parse error)

The server couldn’t parse the request body as JSON, so it rejected the request before looking at any field.

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.

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).

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.

auth/account-exists-with-different-credentialGoogle Cloud / Firebase

Firebase Auth: account exists with a different credential (same email, other provider)

The email already belongs to an account that signed up with another provider, so the new provider can't sign in directly.

401HTTP

401 Bearer error="invalid_token"

The API rejected the bearer token as expired, malformed, revoked or not meant for this API.

403HTTP

403 Bearer error="insufficient_scope"

The token is valid, but it doesn't carry the scope (permission) this endpoint requires.

invalid_token_responseAuthentication

[invalid_token_response] An error occurred while attempting to retrieve the OAuth 2.0 Access Token Response

Spring's OAuth2 client could not exchange the authorisation code for a token — the token request failed or the response could not…

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…

400HTTP

HTTP 400 Bad Request

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

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.

parameter_missingAPI

API Error: Missing required parameter (parameter_missing / "x" is required)

The API rejected the request because a field it requires — in the query string, path, headers or JSON body — wasn’t sent or was e…

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.

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_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.

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…

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…

415HTTP

HTTP 415 Unsupported Media Type

The server refuses the request because the body’s Content-Type isn’t one it accepts.

SyntaxError: JSONJavaScript

SyntaxError: Unexpected token < in JSON at position 0

`JSON.parse()` / `response.json()` received something that isn’t JSON — very often an HTML error page.

411HTTP

HTTP 411 Length Required

The server refuses a request with a body but no Content-Length header.

state mismatchAuthentication

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

The state value returned to the callback doesn’t match what the app stored before redirecting — the CSRF protection for OAuth fai…

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.

secretOrPrivateKey must have a valueAuthentication

Error: secretOrPrivateKey must have a value (jsonwebtoken sign)

jwt.sign() got an empty secret — the environment variable holding the JWT secret isn’t loaded.

NO_SECRETAuthentication

NextAuth / Auth.js: [next-auth][error][NO_SECRET] Please define a `secret` in production / MissingSecret

Auth.js needs a secret (NEXTAUTH_SECRET / AUTH_SECRET) in production to sign and encrypt tokens/cookies.

MongoParseErrorMongoDB

MongoDB: MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"

The connection string is missing, malformed, or the environment variable holding it is undefined.

disallowed_useragentAuthentication

Google OAuth: Error 403: disallowed_useragent (sign-in from an embedded WebView)

Google blocks OAuth sign-in inside embedded WebViews (in-app browsers, Electron BrowserWindow, React Native WebView).

auth/invalid-credentialAuthentication

Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials)

Firebase rejected the email/password sign-in — wrong password, no such user, or a provider credential that’s malformed/expired.

auth/too-many-requestsAuthentication

Firebase Auth: auth/too-many-requests — Access to this account has been temporarily disabled due to many failed login attempts

Firebase throttled sign-in or SMS verification because of too many attempts from the device/IP or for the account.

Invalid parameter: redirect_uriAuthentication

Keycloak: We are sorry... Invalid parameter: redirect_uri

The redirect_uri in the login request isn’t in the Keycloak client’s Valid Redirect URIs.

OAuthAccountNotLinkedAuthentication

NextAuth / Auth.js: OAuthAccountNotLinked — To confirm your identity, sign in with the same account you used originally

A user tried to sign in with a new OAuth provider using an email that already belongs to an account created with a different prov…

gcloud: Reauthentication failed / invalid_grantGoogle Cloud / Firebase

gcloud: ERROR: (gcloud.auth.print-access-token) There was a problem refreshing your current auth tokens: Reauthentication failed. cannot prompt during non-interactive execution

Your cached Google credentials expired or require a fresh login (session control or password change), and gcloud can't prompt.

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

Key path oauth-private.key does not exist or is not readableLaravel

Laravel Passport: LogicException: Key path "file:///var/www/storage/oauth-private.key" does not exist or is not readable

Passport can't find or read its OAuth signing keys.

102HTTP

HTTP 102 Processing

An interim WebDAV response saying the server accepted a long-running request and is still working on it.

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…

ReferenceErrorJavaScript

ReferenceError: x is not defined

Code refers to a variable or function name that doesn’t exist in the current scope.

NameErrorPython

NameError: name 'x' is not defined

Python doesn’t know the name — it was never assigned/imported in this scope, or it’s misspelled.

Bad credentialsAuthentication

Spring Security: BadCredentialsException: Bad credentials

Spring Security found the user but the supplied password did not match the stored hash, or the user was not found.

no PasswordEncoderAuthentication

IllegalArgumentException: There is no PasswordEncoder mapped for the id "null"

Spring Security's delegating encoder expects stored passwords to start with `{id}` such as `{bcrypt}`; yours has no prefix.

does not look like BCryptAuthentication

WARN: Encoded password does not look like BCrypt

BCryptPasswordEncoder was asked to match a stored value that is not a BCrypt hash, so login always fails.