ErrLookup › nextauthjs/next-auth
nextauthjs/next-auth
Authentication for the Web. · TypeScript · 313 source files
Analyzed at a1a16a5a77 on 2026-08-28. 135 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Error creating user: Cannot get user after creation. | exception | error | database, d1, cloudflare, data-integrity |
| Error updating user: Cannot get user after updating. | exception | error | database, d1, cloudflare, update |
| Error updating user: Failed to run the update SQL. | exception | error | database, d1, cloudflare, sql |
| Couldn't create session | exception | error | database, d1, session, cloudflare |
| Dgraph client error: Please provide an API key | exception | error | configuration, api-key, dgraph, env |
| Dgraph client error: Please provide a valid GraphQL endpoint | exception | error | configuration, endpoint, dgraph, env |
| Unsupported database type (${typeof db}) in Auth.js Drizzle | exception | error | configuration, typescript, drizzle, initialization |
| No user id. | exception | error | validation, drizzle, mysql, update |
| No user found. | exception | error | database, drizzle, mysql, record-not-found |
| Authenticator not found. | exception | error | database, webauthn, drizzle, record-not-found |
| No user id. | exception | error | input-validation, database, drizzle, postgresql |
| No user found. | exception | error | database, drizzle, postgresql, not-found |
| Authenticator not found. | exception | error | webauthn, database, drizzle, postgresql, not-found |
| No user id. | exception | error | input-validation, database, drizzle, sqlite |
| User not found. | exception | error | database, drizzle, sqlite, not-found |
| Authenticator not found. | exception | error | webauthn, database, drizzle, sqlite, not-found |
| [createUser] Failed to fetch created user | exception | error | firebase, firestore, database, not-found |
| [updateUser] Missing id | exception | error | input-validation, firebase, firestore |
| [updateUser] Failed to fetch updated user | exception | error | firebase, firestore, database, not-found, race-condition |
| [createSession] Failed to fetch created session | exception | error | firebase, firestore, database, session, not-found |
| [updateSession] Failed to fetch updated session | exception | error | firebase, firestore, session, race-condition, auth |
| Object is nullish | exception | error | hasura, null, mapping, auth, database |
| Hasura client error: Please provide an adminSecret | exception | error | hasura, config, missing-env-var, authentication |
| Hasura client error: Please provide a graphql endpoint | exception | error | hasura, config, missing-env-var, url |
| User not found | exception | error | mikro-orm, database, user-not-found, auth |
| Account not found | exception | error | mikro-orm, account-linking, unlink, auth |
| Session not found | exception | error | mikro-orm, session, not-found, auth |
| User not created | exception | error | surrealdb, database, create, swallowed-exception, auth |
| User id is required | exception | error | adapter, validation, surrealdb |
| User not updated | exception | error | adapter, surrealdb, update |
| Account not created | exception | error | adapter, oauth, surrealdb |
| Verification Token not created | exception | error | adapter, verification-token, surrealdb |
| Verification Token not used | exception | error | adapter, verification-token, surrealdb |
| Authenticator not created | exception | error | adapter, webauthn, surrealdb |
| Verification Token not found | exception | error | adapter, webauthn, copy-paste-bug, surrealdb |
| credential id is required | exception | error | adapter, webauthn, validation |
| no matching decryption secret | exception | error | jwt, encryption, secret, session |
| Must pass `req` to JWT getToken() | exception | error | jwt, nextjs, api-usage |
| Must pass `secret` if not set to JWT getToken() | exception | error | jwt, config, missing-secret, authjs |
| Unsupported JWT Content Encryption Algorithm | exception | error | jwt, encryption, config, jose |
| Missing or invalid provider account | exception | error | oauth, provider, validation, callback |
| Provider not supported | exception | error | oauth, provider, validation, callback |
| The account is already associated with another user | exception | error | oauth, account-linking, database, authjs |
| Another account already exists with the same e-mail address | exception | error | oauth, account-linking, email, authjs |
| Callback route called without provider | exception | error | callback, provider, routing, authjs |
| Verification | exception | warning | email, magic-link, verification, token-expired, authjs |
| CredentialsSignin | exception | error | auth, credentials, sign-in |
| Invalid action parameter | exception | error | webauthn, validation, request |
| Error creating or finding account | exception | error | adapter, webauthn, account-linking |
| Callback for provider type (${provider.type}) is not support | exception | error | provider, configuration, routing |
| AccessDenied | exception | error | authorization, access-denied, callbacks |
| TODO: Authorization server did not provide a token endpoint. | exception | critical | oauth, oidc, discovery, configuration |
| TODO: Authorization server did not provide a userinfo endpoi | exception | critical | oauth, oidc, discovery, userinfo |
| unsupported client authentication method | exception | error | oauth, configuration, client-auth |
| OAuth Provider returned an error | exception | error | oauth, callback, provider-error, state |
| OAuth Provider returned an error: ${responseJson.error} | exception | error | oauth, token-exchange, provider-error, callback |
| No userinfo endpoint configured | exception | error | oauth, configuration, userinfo, provider-config |
| ${name} cookie was missing | exception | error | oauth, cookies, state-validation, csrf |
| Invalid cookie | exception | error | oauth, cookies, jwt-decode, secret-mismatch |
| ${name} cookie was created for a different provider than the | exception | error | oauth, cookies, state-validation, provider-mismatch |
| ${name} value could not be parsed | exception | error | oauth, cookies, jwt-decode, wrapper-error |
| State data was provided but the provider is not configured t | exception | error | oauth, state, configuration, checks |
| Invalid state | exception | error | oauth, state, jwt-decode, csrf |
| State could not be decoded | exception | error | oauth, state, csrf, jwt-verification |
| WebAuthn challenge was missing | exception | error | webauthn, cookies, challenge, passkeys |
| CSRF token was missing during an action ${action} | exception | error | csrf, security, cookies, http |
| Invalid JWT | exception | error | jwt, session, configuration, authentication |
| Discovery request responded with an invalid issuer. expected | exception | error | oauth, oidc, discovery, configuration |
| Authorization server did not provide an authorization endpoi | exception | error | oauth, oidc, discovery, configuration |
| AccessDenied | exception | error | oauth, access-denied, callbacks, configuration |
| Missing email from request body. | validation | error | email, validation, http, input |
| Invalid email address format. | validation | warning | email, validation, security, input |
| Cannot handle action: ${action} | exception | error | auth, unknown-action, version-mismatch |
| redirectProxyUrl must be a valid URL. Received: ${provider.r | exception | error | config, invalid-url, redirect-proxy |
| Unsupported action | exception | error | auth, signin-page, unsupported-action |
| Provider with id "${providerId}" not found. Available provid | exception | error | config, provider-not-found, typo |
| Only GET and POST requests are supported | exception | error | http-method, routing, unsupported-method |
| Cannot parse action at ${pathname} | exception | error | routing, url-parsing, base-path |
| Form '${formID}' not found | exception | error | webauthn, dom, missing-element |
| Missing required field: ${field.name} | validation | error | webauthn, form-validation, input |
| Invalid WebAuthn Authentication response | exception | error | webauthn, input-validation, malformed-response |
| WebAuthn authenticator not found in database: ${JSON.stringi | exception | error | webauthn, database, adapter, credential-not-found |
| WebAuthn authentication response could not be verified | exception | error | webauthn, verification, signature, challenge |
| Failed to update authenticator counter. This may cause futur | exception | error | webauthn, adapter, database, counter |
| WebAuthn account not found in database: ${JSON.stringify({cr | exception | error | webauthn, database, account, adapter |
| WebAuthn user not found in database: ${JSON.stringify({crede | exception | error | webauthn, database, user, orphaned-record |
| Invalid WebAuthn Registration response | exception | error | webauthn, input-validation, registration, malformed-response |
| Missing user registration data in WebAuthn challenge cookie | exception | error | webauthn, cookies, registration, missing-data |
| WebAuthn registration response could not be verified | exception | error | webauthn, verification, registration, attestation |
| An adapter is required for the WebAuthn provider | exception | error | webauthn, adapter, configuration, database |
| Provider must be WebAuthn | exception | error | webauthn, provider, configuration, type-narrowing |
| argument name is invalid: ${name} | exception | error | cookie, validation, typeerror, http-headers |
| argument val is invalid: ${val} | exception | error | cookie, validation, encoding, typeerror |
| option maxAge is invalid: ${options.maxAge} | exception | error | cookie, validation, maxage, typeerror |
| option domain is invalid: ${options.domain} | exception | error | cookie, validation, typeerror, serialize |
| option path is invalid: ${options.path} | exception | error | cookie, validation, typeerror, serialize |
| option expires is invalid: ${options.expires} | exception | error | cookie, validation, typeerror, date, serialize |
| option priority is invalid: ${options.priority} | exception | error | cookie, validation, typeerror, serialize, enum |
| option sameSite is invalid: ${options.sameSite} | exception | error | cookie, validation, typeerror, serialize, samesite |
| Forward Email error: ${JSON.stringify(await res.json())} | exception | error | email, http-error, forwardemail, verification-email |
| Missing refresh_token | exception | error | oauth, refresh-token, fusionauth, typeerror |
| Failed to refresh token | exception | error | oauth, refresh-token, fusionauth, http-error |
| Missing Loops API Key or TransactionalId | exception | error | config, email, loops, missing-api-key |
| Loops Send Error: ${JSON.stringify(await res.json())} | exception | error | email, http-error, loops, api-error |
| malformed Mailgun domain | validation | error | config, email, mailgun, validation |
| Mailgun error: + (await res.text()) | exception | error | email, http-error, mailgun, api-error |
| Nodemailer requires a `server` configuration | validation | error | config, smtp, nodemailer, autherror, missing-config |
| Email (${failed.join(", ")}) could not be sent | exception | error | email, smtp, nodemailer, recipient-rejected |
| Missing Postmark API Key | validation | error | config, email, postmark, missing-api-key, typeerror |
| Postmark error: + JSON.stringify(await res.json()) | exception | error | email, http-response, api-key, provider |
| Resend error: + JSON.stringify(await res.json()) | exception | error | email, http-response, api-key, provider |
| Sendgrid error: + (await res.text()) | exception | error | email, http-response, api-key, provider |
| WebAuthn provider requires a database adapter to be configur | exception | error | webauthn, adapter, configuration, database |
| data.message | exception | error | express, session, http-response, framework-adapter |
| data.message | exception | error | qwik, session, http-response, framework-adapter |
| data.message | exception | error | solid-start, session, http-response, framework-adapter |
| data.message | exception | error | sveltekit, session, http-response, framework-adapter |
| Provider id "${provider}" does not refer to a WebAuthn provi | validation | error | webauthn, sveltekit, wrong-api, typeerror |
| "next-auth/middleware" is deprecated. If you are not ready t | exception | critical | next-auth, deprecation, migration, import-error |
| "next-auth/next" is deprecated. If you are not ready to migr | exception | error | deprecated, migration, nextjs, server-side |
| Provider id "${provider}" does not refer to a WebAuthn provi | validation | error | webauthn, provider, react, wrong-api |
| React Context is unavailable in Server Components | exception | error | react, server-components, nextjs, hooks |
| [next-auth]: `useSession` must be wrapped in a <SessionProvi | exception | error | react, session, context, provider, nextjs |
| Provider id "${provider}" refers to a WebAuthn provider. Ple | validation | error | webauthn, provider, react, wrong-api, passkey |
| 'scope' is a string. Redundant workaround, please open an is | console | info | oauth, twitch, console-warning |
| Response has 'error'. Redundant workaround, please open an i | console | info | oauth, twitch, console-warning |
| FirebaseAdapter: value for key "${key}" is undefined | console | warning | firebase, firestore, undefined-value, data-mapping |
adapter_typeorm_updating_entities [next-auth][warn][adapter_typeorm_updating_entities]
https://authjs.dev/referenc | console | warning | typeorm, database, schema-sync, migration, console-warning |
csrf-disabled csrf-disabled | error_code | warning | authjs, csrf, configuration, cookies |
env-url-basepath-redundant env-url-basepath-redundant | error_code | warning | authjs, env, configuration, basepath |
env-url-basepath-mismatch env-url-basepath-mismatch | error_code | warning | authjs, env, basepath, configuration |
| token_type is 'bearer'. Redundant workaround, please open an | console | info | oauth, wechat, provider, deprecation |
| userId is undef in createSession | validation | error | adapter, neon, session, database |
| userId is undef in createSession | validation | error | adapter, postgres, session, database |
| Unable to update authenticator with credential ${credentialI | exception | error | webauthn, surrealdb, adapter, database |