Error map
Auth session missing Supabase: AuthSessionMissingError: Auth session missing!
Authentication · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (10). 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.
Directly related (10)
Supabase Auth: AuthApiError: Email not confirmed
The account exists, but email confirmation is enabled and the user hasn’t clicked the confirmation link.
Supabase Auth: AuthApiError: Invalid login credentials
Supabase rejected the email/password — wrong password, no such user, or the user signed up via OAuth/magic link without a passwor…
Firebase Auth: auth/requires-recent-login — sensitive operation needs a recent sign-in
Changing email/password, deleting the account or linking credentials needs the user to have signed in recently.
Error: Failed to deserialize user out of session
Passport read a user id from the session but your `deserializeUser` could not return the user.
Supabase: AuthApiError: User already registered
Sign-up used an email that already exists.
Supabase: AuthApiError: email rate limit exceeded
Supabase's built-in mailer limit was reached.
[authorization_request_not_found] Spring OAuth2 login callback
Spring could not find the saved authorisation request when the provider redirected back, so the login cannot be completed.
RuntimeError: The session is unavailable because no secret key was set
Flask cannot sign the session cookie because `app.secret_key` is not configured.
Error: secret option required for sessions (express-session)
express-session needs a `secret` to sign the session cookie and none was provided.
Supabase: AuthApiError: Invalid Refresh Token: Refresh Token Not Found
The stored refresh token is unknown or already used.
Two steps away (27)
bcrypt error: Illegal arguments: undefined, string / data and salt arguments required / data and hash arguments required
bcrypt.compare/hash received undefined — the password field or stored hash wasn’t passed.
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.
Firebase Auth: auth/network-request-failed — A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred
The Firebase Auth SDK couldn’t reach Google’s servers — offline, blocked by an extension/firewall, or (on Android emulators) miss…
JWT Expired / Invalid Token
The JSON Web Token sent with the request is expired, malformed or signed with a different key, so the API rejects it (usually wit…
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…
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…
Networking: Your Remote Desktop Services session has ended. Possibly the network connection was lost / Remote Desktop disconnected, error code 0x904
An established Remote Desktop session dropped because the network under it stalled or the session was reset.
Networking: Windows error 64: The specified network name is no longer available — SMB session dropped
A connection to a Windows file share was cut while in use.
ORA-00028: your session has been killed
An administrator, a resource limit or a profile terminated your session while it was idle or running.
Passport.js: Error: Failed to serialize user into session
Passport logged a user in but there’s no serializeUser function (or it didn’t call done), so the session can’t store the user.
HTTP 440 Login Time-out (IIS)
Microsoft IIS reports that the client's session has expired and a new login is needed.
RuntimeException: Personal access client not found. Please create one.
Passport cannot issue a personal access token because the personal access client has not been created.
AWS Cognito: UsernameExistsException: User already exists
A sign-up used a username or email that is already registered.
Supabase: JWT expired (PGRST301)
The access token sent to the Supabase REST API has expired.
SES MessageRejected: Email address is not verified. The following identities failed the check in region
SES refused to send because the From address/domain isn’t verified — or the account is still in the SES sandbox, where recipients…
Firebase Auth: auth/email-already-in-use — The email address is already in use by another account
Sign-up failed because an account with that email already exists.
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.
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…
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.
RuntimeError: Working outside of application context.
Code used current_app, g, or a Flask extension (like SQLAlchemy) without an active Flask application context.
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.
Flask-JWT-Extended: {"msg":"Missing Authorization Header"}
A route decorated with `@jwt_required()` was called without an Authorization header.
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
An Express/Node handler tried to send a second response (or set headers) after one was already sent.
Express: req.body is undefined / {} (body parser missing)
Express didn’t parse the request body because no body-parsing middleware matched the request’s Content-Type.
TypeError: Router.use() requires a middleware function but got a Object
app.use()/router.use() received an object instead of a function — usually a router module that wasn’t exported.
Auth0: invalid_grant — Unknown or invalid refresh token
Auth0 does not recognise the refresh token, so it was revoked, expired, already rotated or issued for another client.
AWS Cognito: NotAuthorizedException: Refresh Token has been revoked
The Cognito refresh token was revoked by sign-out or admin action.