Errors and Troubleshooting

Common Errors

CodeStatusInformationAdditional Context
E011001400Request is malformedThe request contains invalid or malformed data. Common causes include: received tenant from query param that does not match any pattern (tenant not found, check if tenant exists and name is spelled correctly), or SSO not supported for domain (user tried to log in with SSO, but there is no tenant with the email domain associated with the user).
E061102401One time code is invalidThe provided one-time code is invalid. Note that you can change the number of attempts in the authentication method settings.
E102116500Invalid task ID: Execute next direct workflow failed. Failed to get execution infoDuring flow execution, the next flow step was not found. Ensure that the steps are connected throughout the flow and all the way to the end step.
E103205400Did not find execution context: Flow timed out, please try to refreshThe Descope flow component has been idling for too long. Refreshing the component will create a new flow execution.
E062504401Token expired: Failed to load magic link tokenDescope couldn't find the magic link token. The link has expired or was already used. Email security scanners, such as Outlook Safe Links, can open the link before the user does and use it up. The user needs to start sign-in again to get a new link. If scanners are using up your links, see Checking for Email Scanners.
E063010401Failed loading magic/enchanted link from cache, was not found, might be expiredThe magic link has expired. The user will need to restart the authentication process to receive a fresh magic link token.
E011003400Request is invalidA field in the request failed input validation. The text after the message names the field and the rule it broke, such as The [NAME] field is required. Common cases:
- A required field is missing.
- A PKCE verifier or challenge isn't exactly 32 bytes.
- A redirect URL is longer than 2048 characters.
- An OTP code isn't exactly 6 characters.
- An email domain isn't valid (The email field must have a valid domain name). Examples are an empty label (user@café..be), a label that starts with a hyphen, or a space in the domain.
Fix the field named in the message and send the request again.
E061104401One time code expiredThe one-time code has expired. The user needs to restart the authentication or resend the OTP code to receive a valid new code.
E062503401Token not verified: Unauthorized enchanted link status - token was not verified yetThe enchanted link has expired. The user needs to restart the authentication process to receive a fresh enchanted link token.
E062115401Attempt to login with unverified email or phoneThe user tried to sign in with an email or phone number that isn't verified. The end of the message says which one: Unverified email or Unverified phone. The user must verify it before signing in with that method. For users you create with the Management API or SDK, set verifiedEmail or verifiedPhone to true (see Users with SDKs).
E062108404User not foundUser was not found in Descope. Descope uses LoginId to identify the user, make sure that the right loginId is used for the specific step or SDK. This error can occur during general user lookup, OAuth token exchange, magic link sign-in, or NOTP sign-in verification. Verify that the user exists or switch to signing the user up if applicable.
E062904400Password does not satisfy policyUser did not comply with the password policy when setting their password. Common violations include: missing non-alphanumeric characters, uppercase characters, lowercase characters, numbers, or minimum length requirements. It is recommended to use the policy previewer component so that the user will be able to see why the password was rejected.
E064002401Empty or Non Existent Refresh Token JWT was providedToken is missing. When using a custom domain check whether DS/DSR (or your custom-configured cookie names) are absent from the localStorage or the cookie.
E062901401Invalid signin credentialsOne of the provided credentials is wrong, used for password authentication. May include attempt count in the error message.
E069000401PKCE Validation Failed: Failed to verify link - PKCE Validation Failed: PKCE challenge and verifier do not matchPKCE already used, or the challenge and the verifier do not match. Validate that the PKCE is being used for the first time, or that it is being created and passed properly.
E061301401Failed to exchange token: Failed to exchange sso codeWrong or missing SSO code for exchange.
E062209401Token exchange with OAuth provider failed, please validate your OAuth setup: [E062108] User not found: User does not exists [error: [E013009]]For signing in with OAuth, the user must exist first in the Descope user table.Check that the user exists or have the user sign up.
E061103401Max attempts exceeded for one time codeUser has reached the maximum attempts verifying the log in with the OTP. This may be an attempt to break into the account.
E071001401Project does not existThe Descope Project ID is invalid/does not exist. Verify that it has been entered correctly.
E102111400Flow reached limit of allowed tasksThe amount of tasks executed exceeded 1000. Check your flow for infinite loops.
E102103400Did not find next task: Could not get next task for [NAME]During flow execution, the next flow step was not found. Ensure that the steps are connected throughout the flow and all the way to the end step..
E061002403Sign up is not allowed: Self provisioning signUp is not allowedSign ups are not allowed. This may be a result of checking the “Block self-registration sign up” in the project settings page.
E033005429Rate limit exceeded: Exceeded the allowed number of emails in a the defined time frame. Please wait a while and try againUser actions triggered several email messages which exceeded the limit. It is recommended to check the flow and the user actions to find a way to prevent this from happening again.
E125004500Connector execution runtime errorThe connector ran but returned an error. The text after the message shows the connector's own error. Common cases:
- getaddrinfo ENOTFOUND: The connector's host name can't be found. Check the URL in the connector settings and your network. If both look correct, contact Descope support.
- Task timed out after x seconds: The destination took too long to respond. Increase the Timeout in the connector step, or check the destination server. See Long-Running Connector Calls.
To see the request and response, run the flow in the Flow Runner.
E064003401Invalid Refresh Token JWT was provided: Failed to load userUser’s JWT provided did not find any existing users in the project. Please make sure you are using the right project.
E013009404Record not foundDescope couldn't find a record that the request refers to. The text after the code names the record, such as Connector not found or Flow <id> not found.
- Connector not found: A flow step uses a connector that was deleted, or that doesn't exist in this project, for example after you import a flow from another project. Open the flow, check which connector the step uses, and create or reselect it under Connectors.
- Flow not found: Check the flow ID in your SDK or component call.
- Inside another error, such as E062108: Fix the outer error. E013009 is the lookup that failed underneath it.
E062903401Password signin failedWrong password provided.
E023001401User is disabledUser is disabled. Enable the user through the UI or API. You can also alert your users when they are disabled and provide them an option to contact support.
E067010401User doesn't have any WebAuthn credentialsThe user tried to sign-in with passkeys, and does not have a passkey set on the device. See the ‘promote-biometrics’ flow as an example of how to set up a passkey.
E062910400Password cannot be reused [error: rpc error: code = Unknown desc = [E062910] Password cannot be reused]User tried to set a password that has been used before. You can control the number of passwords that Descope checks against, by going into the password authentication method settings.
E106003401Could not find tenant: Cannot determine tenant from JWTHappens when performing an authorized action and the tenant is required for performing the action.
E031002403Missing providers SettingsThe provider specified in the flow is missing (probably deleted).
E011004400Invalid ArgumentsThe arguments passed to the API/SDK call are invalid.
E067015404Login transaction not foundThe passkey operation timed out
E067020400Android APK key hash origin is not in the allowed listThe Android app's signing fingerprint is not listed under Passkeys Settings > Android Fingerprints. Add a fingerprint for every signing key in use, including debug and Play App Signing keys.
E073307400Failed to save tenant, tenant ID or Name already exist: Failed creating tenant because provisioning domains are duplicateThe tenant already exists. Happens when self-provisioning is used inside a flow or the requested tenant has the same email domain.
E106004401Could not find tenant: Illegal tenant requestedThe name of the tenant does not exist in Descope.
E032101400Failed to send sms: Status: 429 - Max send attempts reachedThe maximum number of attempts to send an SMS to a specific number has been reached.
E062605401Token exchange with SSO provider failedSSO token exchange failed. Common causes include: cannot generate redirect URI (redirect URI is not configured or is missing from metadata on the IDP, make sure all URLs are set correctly on the IDP), or user is disabled in Descope (enable the user through the user table).
E062907401Password reset send failedThis can be a result of wrong email provider settings. Check the relevant connector.
E102112500Invalid execution idFlow execution ID not found. Restart the flow to create a new ID.
E112201400Tenant does not belong to the specified projectThe tenant does not belong to the specified project. The tenant ID is case sensitive, so ensure that the tenant ID is cased correctly.
E023009401Cannot merge with test user: Cannot merge with test userTest users are not permitted.
E062906401Password update failedUpdating the password failed.
E062111401JWT invalid for update user flow - JWT does not match userThe JWT provided does not match the user.
E102004404Flow requested is in old version, need to reload page: Got wrong version after reloadFlow has changed, refresh the page to get a newer flow version.
E011002400Request is missing required argumentsThe request has a missing or invalid argument that does not comply with the field’s format. Make sure to provide that field or check the validity of the field.
E103003500Failed getting flow: Failed loading flow by IDFlow ID was not found on the project. Make sure you have the right flow ID or that you are using the right project ID.
E102001404Unknown flowReturned by POST /v1/flow/start when the request doesn't include componentsVersion, even if the flow exists, is active, and the project ID and flow ID are correct. This happens when you call flow.start yourself, for example sdk.flow.start('sign-up-or-in') from the web JS SDK, instead of running the flow through the Descope web component. The web component reads componentsVersion and the flow versions from the project's config.json and sends them for you.
To fix it, run the flow through the Descope web component, or include componentsVersion in the flow start request, taken from the project's config.json. Sending only flowVersions isn't enough. If the flow ID is wrong, you get E103003 instead.
E032001400Failed to send email: Failed to send email through SES (MessageRejected): Email address is not verifiedSES requires the sender email to be verified on AWS. Make sure you follow the steps to verify it.
E032106400Invalid Phone number provided to phone SMS: Failed to send SMS - Invalid Phone To +xx-xxxxxxThe phone number provided does not comply with the phone number format.
E064011401JWT inactive for too long: Failed getting tenants from JWT.The operation requires a specific tenant to work. The JWT contains either no tenant or multiple tenants.
E064017401Provided token is not an ID tokenThe id_token_hint sent to the OIDC logout endpoint is not an ID token, typically because the app sent the access token. Pass the ID token instead.
E011016
(formerly E061003)
403Redirect URL does not match the approved domain listThe redirect URL's domain isn't in the project's Approved Domains. This can happen after you change a custom domain. Add the domain to Approved Domains in the project settings. For SSO applications, see E061016 in SSO Troubleshooting.
E061010401Your company account is no longer active. Please contact support for assistanceThis error occurs when attempting to access a company that has been deleted or disabled. The account is no longer accessible. Contact Descope support if you believe this is an error.
E062208500Failed to create user from mapping, external ID does not existWhen trying to merge identities from SSO / OAuth in a sign in process, there is no existing user with the associated ID (e-mail or phone number).
E062107400User already exists in SignUp.User with the provider login ID already exists, use sign in or sign up / in instead.
E103202400Polling status not found.Magic Link / Enchanted Link reference not found, it is probably expired by time or already clicked on. Try sending it again.
E061206400Missing redirect URL for IdP initiated login.SSO IdP Initiated request while post authentication URL is not configured. Set the Post Authentication Redirect URL — see SSO login flows → IdP-initiated.
E023019403Number of test users exceeded.Number of available test users depends on your company license.
E061105401TOTP code already usedThe submitted TOTP (authenticator app) code was already used earlier in its validity window and was rejected as a replay. Ask the user to wait for their authenticator app to generate a new code.
E111127409Failed to update user because the new value already belongs to another userReturned by Update User Email and Update User Phone when failOnConflict is true and the new email or phone already belongs to a different user. The update fails instead of merging the two accounts — retry with a different value, or omit failOnConflict to merge the conflicting user into this one.
E062125400User update failed due to conflict with existing userThe auth-flow equivalent of E111127 (e.g. during magic link or OTP sign-in) — the identifier being verified already belongs to a different user and failOnConflict prevented the merge.
E064001401JWT Expired due to logoutThe refresh token belongs to a session that signed out. After logout, Descope rejects that session's refresh token. The user needs to sign in again, and your app should stop using the old tokens.
E064005401JWT already rotated, JWT family will be invalidatedWith refresh token rotation on, each refresh token works once. Descope received a refresh token that was already used, so it invalidates every token in that family and the user needs to sign in again. A common cause is two refreshes at the same time, for example from two tabs or a retry, where the second uses the token that the first just replaced. Make sure your app runs one refresh at a time.
E064006401JWT family ID invalidated, cannot use this tokenThe token belongs to a family that Descope invalidated after E064005. No token in that family works anymore. The user needs to sign in again to get a new session. See refresh token rotation.
E064010401No user to impersonate toThe target user is disabled or expired, or the user cannot be loaded. You cannot impersonate disabled or expired users. See User Impersonation.
E064009401No consent for impersonationThe target user has not given impersonation consent. See User Impersonation.
E062018401Invalid JWT provided for stop impersonationThe JWT passed to stop impersonation is invalid. See User Impersonation.
E108201403Error validating flow nonceThe flow request arrived out of sequence because it reused an old flow state. This can happen with a second tab, the browser back button, or an old link. The user needs to start the flow again.
E108202403Flow is running from a non-approved domainThe flow runs on a domain that isn't in the project's Approved Domains. This can happen after you change a custom domain. Add the domain to Approved Domains in the project settings.
E108204403Redirect auth callback is not an approved domainA mobile app opened a flow step in the system browser, and the callback URL that returns the user to the app isn't in the project's Approved Domains. Add the mobile callback URL: the full URL with the scheme for a custom scheme (e.g., descopeauth://flow for the React Native and Flutter SDKs on iOS), or the domain alone for an https URL.
E102121400Failed to get last screenDescope couldn't restore the flow's last screen when the flow resumed, because the flow's saved state was empty or had expired. This can happen when a mobile SDK resumes a flow. The user needs to start the flow again.
E061001403Authentication method disabledAn API or SDK call uses an authentication method that is turned off in the project. Turn the method on in the console, or use a method that is on.
E130429429Rate limit exceededDescope received too many requests in a short time. A common source is Management API calls from CI or Terraform runs. Wait before you retry, and spread out the calls. See Rate Limit Best Practices.
E068003401Failed to handle IDP SAML authentication requestDescope acts as the identity provider for a SAML or WS-Fed application and couldn't handle the request from the service provider. The text after the message names the problem, such as missing SAMLRequest field or SAML ACS URL fails strict authority match. Check that the service provider's settings match the application's settings in Descope.
E073108500Invalid private keyDescope couldn't read a private key. For Apple sign-in, empty block after decoding means the private key isn't a valid .p8 key. Provide the .p8 key file you downloaded from Apple again.
E032043500Failed to init AWS End User Messaging clientDescope couldn't connect to AWS End User Messaging. The text after the message says which step failed.
- Failed to assume external customer role: Descope couldn't use the role set under Role-based Permissions in the connector. Check the role in the connector settings and in AWS.
- AWS End User Messaging service role is not configured: This setting is on the Descope side. Contact Descope support.

The status shown is the usual HTTP status for each code. A code can return a different status when it wraps another error, such as 500 for an internal failure.

OAuth and OIDC Errors

These errors might indicate a misconfiguration on both sides, in Descope or at the OAuth provider. Here is a list of all of the errors that might occur when Descope exchanges a token with an OAuth provider. The message usually starts with Token exchange with OAuth provider failed, please validate your OAuth setup (E062209). To further debug provider-related issues, read the documentation that is associated with the error message and the specific OAuth provider used.

InformationAdditional Context
Failed to connect to user info endpointEither the user endpoint cannot be reached or does not return a valid JSON.
This OAuth Provider is not enabled, need to allow in project settings firstThe provider that was used in the flow is not enabled.
The user has denied access to the scope requested by the client applicationThe user has declined the access request of the app.
Disabled user in oauth exchangeThe user is disabled in Descope.
User already exists: User already existsThe user already exists and sign up is rejected. Use sign in instead.
User not found: User does not existThe user must exist first in the Descope user table. Check that the user exists or have the user sign up.
Request is missing required argumentsThe provided e-mail address does not comply with the e-mail format.

Note

Are you facing an error that is not listed here? Please contact us, and we will make sure to list it.

Was this helpful?

On this page