> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 400

> Reference for Stytch API Bad Request errors

## active\_totp\_exists

400 **Active totp exists**

Cannot create a new TOTP for the specified user since the user already has an active TOTP. Users may only have one active TOTP at a time.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "active_totp_exists",
  "error_message": "Cannot create a new TOTP for the specified user since the user already has an active TOTP. Users may only have one active TOTP at a time.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#active_totp_exists"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## ad\_blocker\_detected

400 **Ad blocker detected**

The request was blocked by an Ad Blocker. Please disable your ad blocker and try the request again.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "ad_blocker_detected",
  "error_message": "The request was blocked by an Ad Blocker. Please disable your ad blocker and try the request again.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#ad_blocker_detected"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## allow\_list\_max\_exceeded

400 **Allow list max exceeded**

The number of user methods registered to the allow list has exceeded the maximum of 500.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "allow_list_max_exceeded",
  "error_message": "The number of user methods registered to the allow list has exceeded the maximum of 500.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#allow_list_max_exceeded"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## apple\_oauth\_config\_not\_found

400 **Apple oauth config not found**

The Apple OAuth config was not found.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "apple_oauth_config_not_found",
  "error_message": "The Apple OAuth config was not found.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#apple_oauth_config_not_found"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## argon\_2\_key\_length\_mismatch

400 **Argon 2 key length mismatch**

The key\_length value doesn't match the length of the provided hash.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "argon_2_key_length_mismatch",
  "error_message": "The key_length value doesn't match the length of the provided hash.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#argon_2_key_length_mismatch"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## authorization\_endpoint\_not\_configured\_for\_project

400 **Authorization endpoint not configured for project**

The project does not have an authorization endpoint configured. Please configure it in the dashboard.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "authorization_endpoint_not_configured_for_project",
  "error_message": "The project does not have an authorization endpoint configured. Please configure it in the dashboard.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#authorization_endpoint_not_configured_for_project"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## bad\_app\_bundle\_for\_stytch\_sdk

400 **Bad app bundle for stytch sdk**

This app bundle ID has not been registered as an allowed app for the Stytch SDK. Please add it here: [https://stytch.com/dashboard/sdk-configuration](https://stytch.com/dashboard/sdk-configuration)

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "bad_app_bundle_for_stytch_sdk",
  "error_message": "This app bundle ID has not been registered as an allowed app for the Stytch SDK. Please add it here: https://stytch.com/dashboard/sdk-configuration",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#bad_app_bundle_for_stytch_sdk"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## bad\_domain\_for\_stytch\_sdk

400 **Bad domain for stytch sdk**

This website has not been registered as an allowed domain for the Stytch SDK. Please add it here: [https://stytch.com/dashboard/sdk-configuration](https://stytch.com/dashboard/sdk-configuration)

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "bad_domain_for_stytch_sdk",
  "error_message": "This website has not been registered as an allowed domain for the Stytch SDK. Please add it here: https://stytch.com/dashboard/sdk-configuration",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#bad_domain_for_stytch_sdk"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## bad\_request

400 **Bad request**

The submitted request is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "bad_request",
  "error_message": "The submitted request is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#bad_request"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## bad\_vertical\_for\_stytch\_sdk

400 **Bad vertical for stytch sdk**

The credentials used match a different vertical than the one specified in the SDK configuration. Please check if you are using a B2B or B2C project.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "bad_vertical_for_stytch_sdk",
  "error_message": "The credentials used match a different vertical than the one specified in the SDK configuration. Please check if you are using a B2B or B2C project.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#bad_vertical_for_stytch_sdk"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## billing\_not\_verified

400 **Billing not verified**

You cannot use this endpoint in the Live environment until credit card details are added to your account, but you can try the endpoint in the Test environment. Once your billing information is verified, this endpoint can be used in Live. Collecting this information helps us prevent abuse of the platform. Please go to [https://stytch.com/dashboard/settings/billing](https://stytch.com/dashboard/settings/billing) to provide billing information.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "billing_not_verified",
  "error_message": "You cannot use this endpoint in the Live environment until credit card details are added to your account, but you can try the endpoint in the Test environment. Once your billing information is verified, this endpoint can be used in Live. Collecting this information helps us prevent abuse of the platform. Please go to https://stytch.com/dashboard/settings/billing to provide billing information.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#billing_not_verified"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## billing\_not\_verified\_for\_email

400 **Billing not verified for email**

Billing is not yet verified. You can only send emails to yourself or to coworkers sharing the same email domain used to sign up to Stytch until credit card details are added to your account. Once your billing information is verified, emails can be sent to anyone. Collecting this information helps us prevent abuse of the platform. Please see [https://stytch.com/dashboard/settings/billing](https://stytch.com/dashboard/settings/billing) to provide billing information.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "billing_not_verified_for_email",
  "error_message": "Billing is not yet verified. You can only send emails to yourself or to coworkers sharing the same email domain used to sign up to Stytch until credit card details are added to your account. Once your billing information is verified, emails can be sent to anyone. Collecting this information helps us prevent abuse of the platform. Please see https://stytch.com/dashboard/settings/billing to provide billing information.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#billing_not_verified_for_email"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## breached\_password

400 **Breached password**

Password doesn't meet the API's strength requirements. A password's strength could be tested with the [password strength check endpoint](https://stytch.com/docs/api/password-strength-check.md).

Common Causes

<ul>
  <li>The password was previously leaked, and the password now appears in the HaveIBeenPwned dataset.</li>
</ul>

Troubleshooting

<ul>
  <li>Use the [password strength check endpoint](https://stytch.com/docs/api/password-strength-check.md) endpoint to get actionable feedback on improving the strength of the password string. This feedback can be passed on to the end user via your UI.</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "breached_password",
  "error_message": "password appears in a list of breached passwords.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#breached_password"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## bulk\_migrate\_invalid\_user\_count

400 **Bulk migrate invalid user count**

The number of users passed to bulk migrate password was invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "bulk_migrate_invalid_user_count",
  "error_message": "The number of users passed to bulk migrate password was invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#bulk_migrate_invalid_user_count"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_add\_pem\_file\_to\_non\_pem\_trusted\_token\_profile

400 **Cannot add pem file to non pem trusted token profile**

This trusted token profile does not use public key type PEM and cannot have associated PEM files

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_add_pem_file_to_non_pem_trusted_token_profile",
  "error_message": "This trusted token profile does not use public key type PEM and cannot have associated PEM files",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_add_pem_file_to_non_pem_trusted_token_profile"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_assign\_default\_rbac\_role\_id

400 **Cannot assign default rbac role id**

The default role is implicitly assigned to all members in the project and cannot be explicitly assigned.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_assign_default_rbac_role_id",
  "error_message": "The default role is implicitly assigned to all members in the project and cannot be explicitly assigned.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_assign_default_rbac_role_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_delete\_default\_email\_template

400 **Cannot delete default email template**

Cannot delete an email template that is currently set as a default. Please update or unset the default email template setting before deleting this template.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_delete_default_email_template",
  "error_message": "Cannot delete an email template that is currently set as a default. Please update or unset the default email template setting before deleting this template.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_delete_default_email_template"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_delete\_email

400 **Cannot delete email**

Cannot delete the last email for a user with a password. This ensures they can complete a password reset.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_delete_email",
  "error_message": "Cannot delete the last email for a user with a password. This ensures they can complete a password reset.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_delete_email"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_delete\_last\_primary\_factor

400 **Cannot delete last primary factor**

You cannot delete the last primary factor (email, phone number, crypto wallet) for a user because that would make their account difficult or impossible to recover. If you want to remove the user from your project, [delete the user](https://stytch.com/docs/api/delete-user.md) instead.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_delete_last_primary_factor",
  "error_message": "Cannot delete the last primary factor (email, phone number, crypto wallet) for a user. If you want to delete the user instead, use the DeleteUser endpoint: https://stytch.com/docs/api/delete-user",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_delete_last_primary_factor"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_remove\_primary\_auth\_mechanism

400 **Cannot remove primary auth mechanism**

If you remove this factor, the user will be unable to log in.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_remove_primary_auth_mechanism",
  "error_message": "If you remove this factor, the user will be unable to log in.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_remove_primary_auth_mechanism"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_reset\_password\_with\_existing\_password

400 **Cannot reset password with existing password**

Cannot reset user's password using their existing password. This could be because their existing password was part of a data breach or to prevent password squatting. Please reset the password via a session or email reset.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_reset_password_with_existing_password",
  "error_message": "Cannot reset user's password using their existing password. This could be because their existing password was part of a data breach or to prevent password squatting. Please reset the password via a session or email reset.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_reset_password_with_existing_password"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_specify\_wildcard\_with\_other\_actions

400 **Cannot specify wildcard with other actions**

If you want to specify wildcard (`*`) for a resource, do not pass any other actions.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_specify_wildcard_with_other_actions",
  "error_message": "If you want to specify wildcard (`*`) for a resource, do not pass any other actions.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_specify_wildcard_with_other_actions"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_use\_biometrics\_with\_pending\_user

400 **Cannot use biometrics with pending user**

Mobile biometrics can only be used for active users.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_use_biometrics_with_pending_user",
  "error_message": "Mobile biometrics can only be used for active users.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_use_biometrics_with_pending_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cannot\_use\_webauthn\_with\_pending\_user

400 **Cannot use webauthn with pending user**

WebAuthn can only be used with active users. To learn more about WebAuthn and user states please see [here](https://stytch.com/docs/api/webauthn-register-start.md) and [here](https://stytch.com/docs/api/user-states.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_use_webauthn_with_pending_user",
  "error_message": "WebAuthn can only be used for active users. To learn more about WebAuthn and user states read more at https://stytch.com/docs/api/webauthn-register-start and https://stytch.com/docs/api/user-states.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cannot_use_webauthn_with_pending_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## client\_secret\_too\_long

400 **Client secret too long**

Client secret is too long. Please make sure you have the correct value.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "client_secret_too_long",
  "error_message": "Client secret is too long. Please make sure you have the correct value.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#client_secret_too_long"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## cname\_required\_to\_enable\_http\_only\_cookies

400 **Cname required to enable http only cookies**

You must have a valid CNAME record to enable HTTP-only cookies. Please add a CNAME record to your DNS configuration.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cname_required_to_enable_http_only_cookies",
  "error_message": "You must have a valid CNAME record to enable HTTP-only cookies. Please add a CNAME record to your DNS configuration.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#cname_required_to_enable_http_only_cookies"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## connected\_app\_already\_rotating\_secret

400 **Connected app already rotating secret**

The client is already in a secret rotation flow. Please finish or cancel the current secret rotation flow before starting a new one.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "connected_app_already_rotating_secret",
  "error_message": "The client is already in a secret rotation flow. Please finish or cancel the current secret rotation flow before starting a new one.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#connected_app_already_rotating_secret"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## connected\_app\_invalid\_redirect\_url

400 **Connected app invalid redirect url**

The redirect URL for this client is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "connected_app_invalid_redirect_url",
  "error_message": "The redirect URL for this client is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#connected_app_invalid_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## connected\_app\_misconfigured\_client

400 **Connected app misconfigured client**

The client is misconfigured. Check application logs for additional details.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "connected_app_misconfigured_client",
  "error_message": "The client is misconfigured. Check application logs for additional details.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#connected_app_misconfigured_client"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## connected\_app\_not\_rotating\_secret

400 **Connected app not rotating secret**

The client is not in a secret rotation flow. Please start a secret rotation flow before calling this endpoint.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "connected_app_not_rotating_secret",
  "error_message": "The client is not in a secret rotation flow. Please start a secret rotation flow before calling this endpoint.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#connected_app_not_rotating_secret"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## connected\_app\_redirect\_url\_cannot\_use\_localhost

400 **Connected app redirect url cannot use localhost**

The redirect URL for this client cannot be localhost. See [https://datatracker.ietf.org/doc/html/rfc8252#section-8.3](https://datatracker.ietf.org/doc/html/rfc8252#section-8.3) for more details.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "connected_app_redirect_url_cannot_use_localhost",
  "error_message": "The redirect URL for this client cannot be localhost. See https://datatracker.ietf.org/doc/html/rfc8252#section-8.3 for more details.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#connected_app_redirect_url_cannot_use_localhost"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## connected\_app\_redirect\_url\_http\_scheme\_must\_use\_loopback

400 **Connected app redirect url http scheme must use loopback**

The redirect URL for this public client uses an 'http' scheme. Only loopback addresses are allowed with 'http' schemes.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "connected_app_redirect_url_http_scheme_must_use_loopback",
  "error_message": "The redirect URL for this public client uses an 'http' scheme. Only loopback addresses are allowed with 'http' schemes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#connected_app_redirect_url_http_scheme_must_use_loopback"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## connected\_app\_redirect\_url\_must\_include\_scheme

400 **Connected app redirect url must include scheme**

The redirect URL for this public client must have a scheme. If you believe this to be in error, please contact [support@stytch.com](mailto:support@stytch.com) for assistance.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "connected_app_redirect_url_must_include_scheme",
  "error_message": "The redirect URL for this public client must have a scheme. If you believe this to be in error, please contact support@stytch.com for assistance.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#connected_app_redirect_url_must_include_scheme"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## connected\_app\_redirect\_url\_must\_use\_http\_or\_https\_scheme

400 **Connected app redirect url must use http or https scheme**

The redirect URL for this non-public client must use the 'http' or 'https' schemes.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "connected_app_redirect_url_must_use_http_or_https_scheme",
  "error_message": "The redirect URL for this non-public client must use the 'http' or 'https' schemes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#connected_app_redirect_url_must_use_http_or_https_scheme"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## connected\_app\_redirect\_url\_must\_use\_https\_scheme

400 **Connected app redirect url must use https scheme**

The redirect URL for this non-public client must use the 'https' scheme. Localhost or loopback addresses are not allowed

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "connected_app_redirect_url_must_use_https_scheme",
  "error_message": "The redirect URL for this non-public client must use the 'https' scheme. Localhost or loopback addresses are not allowed",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#connected_app_redirect_url_must_use_https_scheme"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## could\_not\_parse\_biometric\_signature

400 **Could not parse biometric signature**

Could not parse the biometric signature. The field should be base64 encoded.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "could_not_parse_biometric_signature",
  "error_message": "Could not parse the biometric signature. The field should be base64 encoded.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#could_not_parse_biometric_signature"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## country\_code\_allowlist\_empty

400 **Country code allowlist empty**

The country code allowlist cannot be empty as this will block the project from sending SMS / WhatsApp messages.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "country_code_allowlist_empty",
  "error_message": "The country code allowlist cannot be empty as this will block the project from sending SMS / WhatsApp messages.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#country_code_allowlist_empty"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## country\_code\_allowlist\_invalid\_country\_codes

400 **Country code allowlist invalid country codes**

The country code allowlist contains one or more invalid country codes. Please check that each provided country code follows the Alpha-2 standard here: [https://www.iban.com/country-codes](https://www.iban.com/country-codes).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "country_code_allowlist_invalid_country_codes",
  "error_message": "The country code allowlist contains one or more invalid country codes. Please check that each provided country code follows the Alpha-2 standard here: https://www.iban.com/country-codes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#country_code_allowlist_invalid_country_codes"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## crypto\_wallet\_type\_incompatible\_with\_siwe

400 **Crypto wallet type incompatible with siwe**

You may only pass in siwe\_params if the wallet type is Ethereum.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "crypto_wallet_type_incompatible_with_siwe",
  "error_message": "You may only pass in siwe_params if the wallet type is Ethereum.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#crypto_wallet_type_incompatible_with_siwe"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## custom\_claims\_too\_large

400 **Custom claims too large**

Custom claims are too large.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "custom_claims_too_large",
  "error_message": "Custom claims are too large.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#custom_claims_too_large"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## deny\_list\_max\_exceeded

400 **Deny list max exceeded**

The number of user methods registered to the deny list has exceeded the maximum of 500.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "deny_list_max_exceeded",
  "error_message": "The number of user methods registered to the deny list has exceeded the maximum of 500.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#deny_list_max_exceeded"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## deprecated\_endpoint

400 **Deprecated endpoint**

This endpoint has been deprecated

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "deprecated_endpoint",
  "error_message": "This endpoint has been deprecated",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#deprecated_endpoint"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## downstream\_carrier\_error

400 **Downstream carrier error**

The downstream carrier returned an error. This could be temporary, please try again. If this issue persists, please contact support.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "downstream_carrier_error",
  "error_message": "The downstream carrier returned an error. This could be temporary, please try again. If this issue persists, please contact support.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#downstream_carrier_error"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_biometric\_registration

400 **Duplicate biometric registration**

This biometric public key has already been registered. Please register a different key.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_biometric_registration",
  "error_message": "This biometric public key has already been registered. Please register a different key.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_biometric_registration"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_custom\_hostname\_found

400 **Duplicate custom hostname found**

Duplicate custom hostname found during CNAME creation. A custom hostname can only be used in one project.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_custom_hostname_found",
  "error_message": "Duplicate custom hostname found during CNAME creation. A custom hostname can only be used in one project.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_custom_hostname_found"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_email

400 **Duplicate email**

A user with the specified email already exists for this project.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_email",
  "error_message": "A user with the specified email already exists for this project.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_email"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_email\_for\_user

400 **Duplicate email for user**

The specified email is already tied to this user.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_email_for_user",
  "error_message": "The specified email is already tied to this user.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_email_for_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_m2m\_client\_id

400 **Duplicate m2m client id**

The client ID submitted is already in use by another client.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_m2m_client_id",
  "error_message": "The client ID submitted is already in use by another client.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_m2m_client_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_organization

400 **Duplicate organization**

An organization with the specified name already exists.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_organization",
  "error_message": "An organization with the specified name already exists.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_organization"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_organization\_user

400 **Duplicate organization user**

A user with the specified email already exists for this organization.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_organization_user",
  "error_message": "A user with the specified email already exists for this organization.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_organization_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_phone\_number

400 **Duplicate phone number**

The phone number provided is already associated with an existing Stytch user.

Common Causes

<ul>
  <li>You're attempting to create a new Stytch user with a phone number that already belongs to an existing user.</li>
</ul>

Troubleshooting

<ul>
  <li>Instead of creating a new user, locate the existing user via our [Search users endpoint](https://stytch.com/docs/api/search-users.md). You can search by user phone number by adding a `phone_number` filter to your search request.</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_phone_number",
  "error_message": "A user with the specified phone number already exists for this project.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_phone_number"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_phone\_number\_for\_user

400 **Duplicate phone number for user**

The specified phone number is already tied to this user.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_phone_number_for_user",
  "error_message": "The specified phone number is already tied to this user.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_phone_number_for_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_project\_user

400 **Duplicate project user**

A project user for the specified organization user already exists for this project.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_project_user",
  "error_message": "A project user for the specified organization user already exists for this project.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_project_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_redirect\_url

400 **Duplicate redirect url**

A redirect URL already exists for the provided URL.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_redirect_url",
  "error_message": "A redirect URL already exists for the provided URL.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_user\_external\_id

400 **Duplicate user external id**

A user with the specified external\_id already exists for this project.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_user_external_id",
  "error_message": "A user with the specified external_id already exists for this project.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_user_external_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_wallet\_address

400 **Duplicate wallet address**

A user with the specified crypto wallet address already exists for this project.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_wallet_address",
  "error_message": "A user with the specified crypto wallet address already exists for this project.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_wallet_address"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_wallet\_address\_for\_user

400 **Duplicate wallet address for user**

The specified crypto wallet address is already tied to this user.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_wallet_address_for_user",
  "error_message": "The specified crypto wallet address is already tied to this user.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_wallet_address_for_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## duplicate\_webauthn\_registration

400 **Duplicate webauthn registration**

The supplied credential ID already exists for this project.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_webauthn_registration",
  "error_message": "The supplied credential ID already exists for this project.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#duplicate_webauthn_registration"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## dynamic\_client\_registration\_not\_enabled

400 **Dynamic client registration not enabled**

Dynamic Client Registration is not enabled for this project. Please enable them in the dashboard to continue: [https://stytch.com/dashboard/connected-apps](https://stytch.com/dashboard/connected-apps).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "dynamic_client_registration_not_enabled",
  "error_message": "Dynamic Client Registration is not enabled for this project. Please enable them in the dashboard to continue: https://stytch.com/dashboard/connected-apps.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#dynamic_client_registration_not_enabled"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## empty\_rbac\_resource\_id

400 **Empty rbac resource id**

All resource\_ids must be nonempty.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "empty_rbac_resource_id",
  "error_message": "All resource_ids must be nonempty.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#empty_rbac_resource_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## empty\_rbac\_role\_id

400 **Empty rbac role id**

All role\_ids must be nonempty.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "empty_rbac_role_id",
  "error_message": "All role_ids must be nonempty.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#empty_rbac_role_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## empty\_rbac\_scope

400 **Empty rbac scope**

All scopes must be nonempty.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "empty_rbac_scope",
  "error_message": "All scopes must be nonempty.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#empty_rbac_scope"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## empty\_webauthn\_registration\_name

400 **Empty webauthn registration name**

Invalid name. Valid webauthn registration names are non-empty.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "empty_webauthn_registration_name",
  "error_message": "Invalid name. Valid webauthn registration names are non-empty.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#empty_webauthn_registration_name"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## event\_log\_streaming\_bad\_datadog\_config

400 **Event log streaming bad datadog config**

The Datadog config is invalid. Ensure there is a valid API Key and Site.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "event_log_streaming_bad_datadog_config",
  "error_message": "The Datadog config is invalid. Ensure there is a valid API Key and Site.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#event_log_streaming_bad_datadog_config"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## event\_log\_streaming\_bad\_grafana\_loki\_config

400 **Event log streaming bad grafana loki config**

The Grafana Loki config is invalid. Ensure there is a valid URL, username, and password.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "event_log_streaming_bad_grafana_loki_config",
  "error_message": "The Grafana Loki config is invalid. Ensure there is a valid URL, username, and password.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#event_log_streaming_bad_grafana_loki_config"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## event\_log\_streaming\_invalid\_destination\_type

400 **Event log streaming invalid destination type**

The destination type is invalid. Please use one of the following: datadog, grafana\_loki.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "event_log_streaming_invalid_destination_type",
  "error_message": "The destination type is invalid. Please use one of the following: datadog, grafana_loki.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#event_log_streaming_invalid_destination_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## event\_log\_streaming\_invalid\_streaming\_status

400 **Event log streaming invalid streaming status**

The streaming status is invalid. Please use one of the following: active, disabled, pending.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "event_log_streaming_invalid_streaming_status",
  "error_message": "The streaming status is invalid. Please use one of the following: active, disabled, pending.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#event_log_streaming_invalid_streaming_status"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## event\_log\_streaming\_too\_many\_destinations

400 **Event log streaming too many destinations**

A project can only have one active event log streaming destination.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "event_log_streaming_too_many_destinations",
  "error_message": "A project can only have one active event log streaming destination.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#event_log_streaming_too_many_destinations"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## expired\_totp

400 **Expired totp**

The TOTP for this user has expired without being verified.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "expired_totp",
  "error_message": "The TOTP for this user has expired without being verified.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#expired_totp"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## forbidden\_character\_zero\_width\_space

400 **Forbidden character zero width space**

Zero width space (U+200B) identified in request, please remove.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "forbidden_character_zero_width_space",
  "error_message": "Zero width space (U+200B) identified in request, please remove.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#forbidden_character_zero_width_space"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## id\_token\_expired

400 **Id token expired**

ID token is expired.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "id_token_expired",
  "error_message": "ID token is expired.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#id_token_expired"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## id\_token\_incorrect\_audience

400 **Id token incorrect audience**

ID token's audience does not match the OAuth configuration's ID.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "id_token_incorrect_audience",
  "error_message": "ID token's audience does not match the OAuth configuration's ID.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#id_token_incorrect_audience"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## id\_token\_invalid

400 **Id token invalid**

ID token is invalid.

Common Causes

<ul>
  <li>The JWKS could not be fetched.</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "id_token_invalid",
  "error_message": "ID token is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#id_token_invalid"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## id\_token\_nonce\_invalid

400 **Id token nonce invalid**

The provided nonce does not match the nonce in the ID token.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "id_token_nonce_invalid",
  "error_message": "The provided nonce does not match the nonce in the ID token.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#id_token_nonce_invalid"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## idp\_access\_token\_expired

400 **Idp access token expired**

The access token is expired.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "idp_access_token_expired",
  "error_message": "The access token is expired.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#idp_access_token_expired"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## idp\_auth\_code\_expired

400 **Idp auth code expired**

The authorization code is expired.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "idp_auth_code_expired",
  "error_message": "The authorization code is expired.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#idp_auth_code_expired"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## idp\_invalid\_access\_token\_custom\_audience

400 **Idp invalid access token custom audience**

Access Token Custom Audience is invalid, should be less than 255 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "idp_invalid_access_token_custom_audience",
  "error_message": "Access Token Custom Audience is invalid, should be less than 255 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#idp_invalid_access_token_custom_audience"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## idp\_invalid\_access\_token\_expiry\_minutes

400 **Idp invalid access token expiry minutes**

Access Token Expiry Minutes is invalid, should be between 5 to 1440 minutes.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "idp_invalid_access_token_expiry_minutes",
  "error_message": "Access Token Expiry Minutes is invalid, should be between 5 to 1440 minutes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#idp_invalid_access_token_expiry_minutes"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## idp\_invalid\_access\_token\_jwt\_template

400 **Idp invalid access token jwt template**

Access Token Template Content is invalid, should be less than 255 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "idp_invalid_access_token_jwt_template",
  "error_message": "Access Token Template Content is invalid, should be less than 255 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#idp_invalid_access_token_jwt_template"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## idp\_refresh\_token\_already\_used

400 **Idp refresh token already used**

The refresh token has already been used.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "idp_refresh_token_already_used",
  "error_message": "The refresh token has already been used.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#idp_refresh_token_already_used"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## idp\_refresh\_token\_expired

400 **Idp refresh token expired**

The refresh token is expired.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "idp_refresh_token_expired",
  "error_message": "The refresh token is expired.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#idp_refresh_token_expired"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## inactive\_email

400 **Inactive email**

The email provided has been marked as inactive by our email provider.

Common Causes

<ul>
  <li>Our email provider received a hard bounce when previously attempting to deliver an email to this email address.</li>
  <li>This user previously marked an email sent by Stytch as spam.</li>
</ul>

Troubleshooting

<ul>
  <li>Confirm with your user that their email address can now successfully receive emails.</li>
  <li>If our email provider previously hit a hard bounce but the email address can now successfully receive emails, you can reactivate it via the [User management](https://stytch.com/dashboard/user-management) or [Members](https://stytch.com/dashboard/members) tab in the Stytch Dashboard.</li>
  <li>If the user previously marked a Stytch email as spam but is now interested in receiving Stytch emails again, please reach out to [[support@stytch.com](mailto:support@stytch.com)](mailto:support@stytch.com?subject=Email%20reactivation) so that we can reactivate their email address.</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "inactive_email",
  "error_message": "The email provided has been marked as inactive by our email provider. This happens most often when the email is undeliverable due to a hard bounce. If the cause of the hard bounce has been resolved, you can reactivate the email address via the User management tab or the Members tab in the Stytch Dashboard.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#inactive_email"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## incompatible\_session\_type

400 **Incompatible session type**

Session token and session duration are arguments for Stytch sessions. Leave these arguments blank when using IDP sessions.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "incompatible_session_type",
  "error_message": "Session token and session duration are arguments for Stytch sessions. Leave these arguments blank when using IDP sessions.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#incompatible_session_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## insecure\_m2m\_client\_secret

400 **Insecure m2m client secret**

The client secret submitted is not secure enough. Please generate a more secure secret.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "insecure_m2m_client_secret",
  "error_message": "The client secret submitted is not secure enough. Please generate a more secure secret.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#insecure_m2m_client_secret"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_append\_salt

400 **Invalid append salt**

The append\_salt value is not supported because it's too long.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_append_salt",
  "error_message": "The append_salt value is not supported because it's too long.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_append_salt"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_argon\_2\_iteration\_amount

400 **Invalid argon 2 iteration amount**

The iteration\_amount value is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_argon_2_iteration_amount",
  "error_message": "The iteration_amount value is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_argon_2_iteration_amount"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_argon\_2\_key\_length

400 **Invalid argon 2 key length**

The key\_length value is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_argon_2_key_length",
  "error_message": "The key_length value is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_argon_2_key_length"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_argon\_2\_memory

400 **Invalid argon 2 memory**

The memory value is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_argon_2_memory",
  "error_message": "The memory value is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_argon_2_memory"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_argon\_2\_salt

400 **Invalid argon 2 salt**

The salt value is an unsupported length.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_argon_2_salt",
  "error_message": "The salt value is an unsupported length.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_argon_2_salt"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_argon\_2\_threads

400 **Invalid argon 2 threads**

The threads value is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_argon_2_threads",
  "error_message": "The threads value is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_argon_2_threads"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_argument

400 **Invalid argument**

Invalid argument.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_argument",
  "error_message": "Invalid argument.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_argument"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_authentication\_type

400 **Invalid authentication type**

The authentication type provided in the header of the request is invalid. The Stytch API uses basic authentication. See more about authenticating Stytch API requests [here](https://stytch.com/docs/api.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_authentication_type",
  "error_message": "The authentication type provided in the header of the request is invalid. The Stytch API uses basic authentication. See more about authenticating Stytch API requests here: https://stytch.com/docs/api/authentication",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_authentication_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_authenticator\_type

400 **Invalid authenticator type**

Invalid authenticator type. The valid values are platform and cross-platform.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_authenticator_type",
  "error_message": "Invalid authenticator type. The valid values are platform and cross-platform.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_authenticator_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_authorization\_header

400 **Invalid authorization header**

The authorization header provided with the request is invalid.

Common Causes

<ul>
  <li>HTTP request is missing an Authorization header</li>
  <li>The Authorization header in the HTTP request is not formatted properly</li>
  <li>The Authorization header in the HTTP request has the incorrect credentials</li>
</ul>

Troubleshooting

<ul>
  <li>Check the Authorization header in the HTTP request for proper formatting.</li>
  <li>Always use the Basic Auth type in the header.</li>
  <li>Check the project credentials you entered match your API keys in the [Dashboard](https://stytch.com/dashboard).</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_authorization_header",
  "error_message": "The authorization header provided with the request is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_authorization_header"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_b2b\_endpoint

400 **Invalid b2b endpoint**

The provided project\_id is a Consumer project and this endpoint is only enabled for B2B projects. Please go to [https://stytch.com/docs/home](https://stytch.com/docs/home) for the consumer version.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_b2b_endpoint",
  "error_message": "The provided project_id is a Consumer project and this endpoint is only enabled for B2B projects. Please go to https://stytch.com/docs/home for the consumer version.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_b2b_endpoint"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_base64\_scrypt\_hash

400 **Invalid base64 scrypt hash**

The provided hash isn't a base64 encoded string. Please base64 encode the hash before passing it to this endpoint.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_base64_scrypt_hash",
  "error_message": "The provided hash isn't a base64 encoded string. Please base64 encode the hash before passing it to this endpoint.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_base64_scrypt_hash"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_base64\_scrypt\_salt

400 **Invalid base64 scrypt salt**

The provided salt isn't a base64 encoded string. Please base64 encode the salt before passing it to this endpoint.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_base64_scrypt_salt",
  "error_message": "The provided salt isn't a base64 encoded string. Please base64 encode the salt before passing it to this endpoint.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_base64_scrypt_salt"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_bcrypt\_cost

400 **Invalid bcrypt cost**

The bcrypt cost value is too high, it must be less than 15. If you need a higher cost parameter, please email [support@stytch.com](mailto:support@stytch.com).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_bcrypt_cost",
  "error_message": "The bcrypt cost value is too high, it must be less than 15. If you need a higher cost parameter, please email support@stytch.com.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_bcrypt_cost"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_bcrypt\_hash

400 **Invalid bcrypt hash**

The bcrypt hash passed is not valid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_bcrypt_hash",
  "error_message": "The bcrypt hash passed is not valid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_bcrypt_hash"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_biometric\_registration\_id

400 **Invalid biometric registration id**

biometric\_registration\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_biometric_registration_id",
  "error_message": "biometric_registration_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_biometric_registration_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_callback\_id

400 **Invalid callback id**

The callback URL has an invalid OAuth Callback ID. Please find it in the dashboard at [https://stytch.com/dashboard/](https://stytch.com/dashboard/) and follow the steps there to enter it into the identity provider

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_callback_id",
  "error_message": "The callback URL has an invalid OAuth Callback ID. Please find it in the dashboard at https://stytch.com/dashboard/ and follow the steps there to enter it into the identity provider",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_callback_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_captcha\_provider\_id

400 **Invalid captcha provider id**

captcha\_provider\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_captcha_provider_id",
  "error_message": "captcha_provider_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_captcha_provider_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_captcha\_provider\_type

400 **Invalid captcha provider type**

provider\_type should be set to 'GoogleRecaptchaEnterpriseSilentWeb', 'GoogleRecaptchaEnterpriseSilentAndroid', or 'GoogleRecaptchaEnterpriseSilentIOS',.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_captcha_provider_type",
  "error_message": "provider_type should be set to 'GoogleRecaptchaEnterpriseSilentWeb', 'GoogleRecaptchaEnterpriseSilentAndroid', or 'GoogleRecaptchaEnterpriseSilentIOS',.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_captcha_provider_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_captcha\_threshold

400 **Invalid captcha threshold**

threshold should be in the range 0 to 1 inclusive.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_captcha_threshold",
  "error_message": "threshold should be in the range 0 to 1 inclusive.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_captcha_threshold"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_code

400 **Invalid code**

Code format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_code",
  "error_message": "Code format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_code"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_connected\_app\_type

400 **Invalid connected app type**

Connected Apps must be created with a valid client type. Accepted types are 'first\_party', 'first\_party\_public', 'third\_party', and 'third\_party\_public'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_connected_app_type",
  "error_message": "Connected Apps must be created with a valid client type. Accepted types are 'first_party', 'first_party_public', 'third_party', and 'third_party_public'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_connected_app_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_create\_user\_request

400 **Invalid create user request**

Invalid CreateUser request. Please provide either an email or phone\_number in the request.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_create_user_request",
  "error_message": "Invalid CreateUser request. Please provide either an email or phone_number in the request.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_create_user_request"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_crypto\_wallet\_address

400 **Invalid crypto wallet address**

crypto\_wallet\_address must be nonempty.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_crypto_wallet_address",
  "error_message": "crypto_wallet_address must be nonempty.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_crypto_wallet_address"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_crypto\_wallet\_id

400 **Invalid crypto wallet id**

The `crypto_wallet_id` is invalid (i.e. not properly formatted) or missing. `crypto-wallet-test-dbbd372e-79f8-48ea-907c-5f0755e7d328` is an example `crypto_wallet_id`.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_crypto_wallet_id",
  "error_message": "crypto_wallet_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_crypto_wallet_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_default\_url

400 **Invalid default url**

Thanks for trying Stytch! Replace the default URL with your own to get started. If you haven't already done so, you'll also need to set your magic\_link\_urls in the dashboard here: [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls)

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_default_url",
  "error_message": "Thanks for trying Stytch! Replace the default URL with your own to get started. If you haven't already done so, you'll also need to set your magic_link_urls in the dashboard here: https://stytch.com/dashboard/redirect-urls",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_default_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_domain

400 **Invalid domain**

Invalid domain, ensure that only the domain was provided. Do not include `https://` or a port in this value. Visit the link [here](https://w3c.github.io/webauthn/#rp-id) for more information about valid domains (called RP ID on the site).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_domain",
  "error_message": "Invalid domain, ensure that only the domain was provided. Do not include https:// or a port in this value. Visit https://w3c.github.io/webauthn/#rp-id for more information about valid domains (called RP ID on the site).",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_domain"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_email

400 **Invalid email**

The email address is invalid (i.e. not properly formatted) or missing. Check that the email address is properly formatted and only includes allowed characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email",
  "error_message": "Email format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_email"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_email\_domain

400 **Invalid email domain**

Email domain is too large. Please contact support if this is a valid email.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_domain",
  "error_message": "Email domain is too large. Please contact support if this is a valid email.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_email_domain"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_email\_html

400 **Invalid email html**

email html is not valid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_html",
  "error_message": "email html is not valid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_email_html"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_email\_id

400 **Invalid email id**

The `email_id` is invalid (i.e. not properly formatted) or missing. `email-test-81bf03a8-86e1-4d95-bd44-bb3495224953` is an example `email_id`.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_id",
  "error_message": "email_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_email_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_email\_plaintext

400 **Invalid email plaintext**

email plaintext is not valid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_plaintext",
  "error_message": "email plaintext is not valid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_email_plaintext"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_email\_sandbox

400 **Invalid email sandbox**

Invalid email. The [sandbox@stytch.com](mailto:sandbox@stytch.com) email can only be used in the Test environment.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_sandbox",
  "error_message": "Invalid email. The sandbox@stytch.com email can only be used in the Test environment.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_email_sandbox"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_email\_subject

400 **Invalid email subject**

email subject is not valid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_subject",
  "error_message": "email subject is not valid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_email_subject"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_email\_template\_content

400 **Invalid email template content**

The email template contains a disallowed phrase. If you think this is an error, please contact [support@stytch.com](mailto:support@stytch.com).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_template_content",
  "error_message": "The email template contains a disallowed phrase. If you think this is an error, please contact support@stytch.com.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_email_template_content"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_ethereum\_address

400 **Invalid ethereum address**

crypto\_wallet\_address format is invalid for an Ethereum address. Expecting a string starting with 0x followed by 40 hexadecimal characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_ethereum_address",
  "error_message": "crypto_wallet_address format is invalid for an Ethereum address. Expecting a string starting with 0x followed by 40 hexadecimal characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_ethereum_address"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_exchange\_primary\_factor\_fields

400 **Invalid exchange primary factor fields**

Please ensure exactly one of the following is provided: email\_address, phone\_number.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_exchange_primary_factor_fields",
  "error_message": "Please ensure exactly one of the following is provided: email_address, phone_number.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_exchange_primary_factor_fields"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_exchange\_primary\_factor\_user

400 **Invalid exchange primary factor user**

The provided user does not have exactly one factor that's either an email or a phone.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_exchange_primary_factor_user",
  "error_message": "The provided user does not have exactly one factor that's either an email or a phone.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_exchange_primary_factor_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_expiration

400 **Invalid expiration**

Expiration is invalid, should be between 5 and 10080 minutes.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_expiration",
  "error_message": "Expiration is invalid, should be between 5 and 10080 minutes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_expiration"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_expiration\_otp

400 **Invalid expiration otp**

expiration\_minutes is invalid, should be between 1 and 10 minutes.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_expiration_otp",
  "error_message": "expiration_minutes is invalid, should be between 1 and 10 minutes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_expiration_otp"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_from\_local\_part

400 **Invalid from local part**

from\_local\_part format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_from_local_part",
  "error_message": "from_local_part format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_from_local_part"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_hash

400 **Invalid hash**

hash is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_hash",
  "error_message": "hash is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_hash"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_hash\_type

400 **Invalid hash type**

The `hash_type` is invalid. Please check [here](https://stytch.com/docs/api/password-migrate.md) for a list of supported hash types.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_hash_type",
  "error_message": "hash_type is invalid. Please check https://stytch.com/docs/api/password-migrate for a list of support hash types.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_hash_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_id

400 **Invalid id**

ID format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_id",
  "error_message": "ID format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_impersonation\_reason

400 **Invalid impersonation reason**

Impersonation reason must be less than 255 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_impersonation_reason",
  "error_message": "Impersonation reason must be less than 255 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_impersonation_reason"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_invite\_magic\_link\_url

400 **Invalid invite magic link url**

invite\_magic\_link\_url format is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_invite_magic_link_url",
  "error_message": "invite_magic_link_url format is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_invite_magic_link_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_invite\_redirect\_url

400 **Invalid invite redirect url**

invite\_redirect\_url format is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_invite_redirect_url",
  "error_message": "invite_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_invite_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_ip\_address

400 **Invalid ip address**

ip\_address format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_ip_address",
  "error_message": "ip_address format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_ip_address"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_locale

400 **Invalid locale**

locale is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_locale",
  "error_message": "locale is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_locale"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_login\_magic\_link\_url

400 **Invalid login magic link url**

login\_magic\_link\_url format is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_login_magic_link_url",
  "error_message": "login_magic_link_url format is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_login_magic_link_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_login\_oauth\_url

400 **Invalid login oauth url**

login\_redirect\_url format is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_login_oauth_url",
  "error_message": "login_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_login_oauth_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_login\_redirect\_url

400 **Invalid login redirect url**

login\_redirect\_url format is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_login_redirect_url",
  "error_message": "login_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_login_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_m2m\_client\_scope

400 **Invalid m2m client scope**

The client scope was invalid. Client scopes must be at most 128 characters long and must not contain spaces, backslashes, or quotes.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_m2m_client_scope",
  "error_message": "The client scope was invalid. Client scopes must be at most 128 characters long and must not contain spaces, backslashes, or quotes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_m2m_client_scope"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_m2m\_client\_status

400 **Invalid m2m client status**

The client status sent was invalid. Client statuses must be either 'active' or 'disabled'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_m2m_client_status",
  "error_message": "The client status sent was invalid. Client statuses must be either 'active' or 'disabled'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_m2m_client_status"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_magic\_link\_url

400 **Invalid magic link url**

magic\_link\_url format is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_magic_link_url",
  "error_message": "magic_link_url format is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_magic_link_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_md\_5\_hash

400 **Invalid md 5 hash**

The MD5 hash passed is not valid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_md_5_hash",
  "error_message": "The MD5 hash passed is not valid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_md_5_hash"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_method\_id

400 **Invalid method id**

The `method_id` is invalid (i.e. not properly formatted) or missing. `email-test-81bf03a8-86e1-4d95-bd44-bb3495224953` is an example `method_id`.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_method_id",
  "error_message": "method_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_method_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_mobile\_identifier

400 **Invalid mobile identifier**

The mobile header sent is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_mobile_identifier",
  "error_message": "The mobile header sent is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_mobile_identifier"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_oauth\_attach\_token

400 **Invalid oauth attach token**

The OAuth attach token could not be matched.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_oauth_attach_token",
  "error_message": "The OAuth attach token could not be matched.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_oauth_attach_token"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_oauth\_provider

400 **Invalid oauth provider**

We didn't recognize the OAuth provider name in the request. Check that the argument is the name of a supported OAuth provider.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_oauth_provider",
  "error_message": "We didn't recognize the OAuth provider name in the request. Check that the argument is the name of a supported OAuth provider.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_oauth_provider"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_oauth\_user\_registration\_id

400 **Invalid oauth user registration id**

oauth\_user\_registration\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_oauth_user_registration_id",
  "error_message": "oauth_user_registration_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_oauth_user_registration_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_organization\_id

400 **Invalid organization id**

organization\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_organization_id",
  "error_message": "organization_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_organization_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_organization\_name

400 **Invalid organization name**

Organization name cannot be longer than 128 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_organization_name",
  "error_message": "Organization name cannot be longer than 128 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_organization_name"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_password\_id

400 **Invalid password id**

password\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_password_id",
  "error_message": "password_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_password_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_password\_reset\_redirect\_url

400 **Invalid password reset redirect url**

reset\_password\_redirect\_url is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_password_reset_redirect_url",
  "error_message": "reset_password_redirect_url is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_password_reset_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_password\_strength\_luds\_complexity

400 **Invalid password strength luds complexity**

The LUDS password complexity should be between 1 and 4, inclusive.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_password_strength_luds_complexity",
  "error_message": "The LUDS password complexity should be between 1 and 4, inclusive.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_password_strength_luds_complexity"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_password\_strength\_luds\_length

400 **Invalid password strength luds length**

The minimum password length should be between 8 and 32, inclusive.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_password_strength_luds_length",
  "error_message": "The minimum password length should be between 8 and 32, inclusive.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_password_strength_luds_length"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_pbkdf\_2\_algorithm

400 **Invalid pbkdf 2 algorithm**

The provided PBKDF-2 algorithm is invalid. Valid arguments are 'sha256' and 'sha512'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_pbkdf_2_algorithm",
  "error_message": "The provided PBKDF-2 algorithm is invalid. Valid arguments are 'sha256' and 'sha512'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_pbkdf_2_algorithm"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_pbkdf\_2\_hash

400 **Invalid pbkdf 2 hash**

The PBKDF-2 hash passed is not valid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_pbkdf_2_hash",
  "error_message": "The PBKDF-2 hash passed is not valid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_pbkdf_2_hash"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_pbkdf\_2\_iteration\_amount

400 **Invalid pbkdf 2 iteration amount**

The provided PBKDF-2 iteration\_amount value is invalid. Valid range: 512-900000.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_pbkdf_2_iteration_amount",
  "error_message": "The provided PBKDF-2 iteration_amount value is invalid. Valid range: 512-900000.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_pbkdf_2_iteration_amount"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_pbkdf\_2\_salt

400 **Invalid pbkdf 2 salt**

The provided PBKDF-2 salt is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_pbkdf_2_salt",
  "error_message": "The provided PBKDF-2 salt is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_pbkdf_2_salt"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_permission\_action

400 **Invalid permission action**

All actions used in RBAC role permissions must be defined within their respective resource.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_permission_action",
  "error_message": "All actions used in RBAC role permissions must be defined within their respective resource.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_permission_action"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_permission\_resource

400 **Invalid permission resource**

All resources used in RBAC role permissions must be defined.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_permission_resource",
  "error_message": "All resources used in RBAC role permissions must be defined.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_permission_resource"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_phone\_number

400 **Invalid phone number**

The phone number is invalid, i.e. not properly formatted, or missing.

Common Causes

<ul>
  <li>If you're accepting the raw input from a user, they may have included an invalid character, i.e. not a digit.</li>
  <li>If the phone number is missing from the call, you may not be passing the input from the user to your backend.</li>
  <li>\[WhatsApp] Recipient has not accepted WhatsApp's new Terms of Service, or is using an unsupported version of the WhatsApp client for their phone.</li>
</ul>

Troubleshooting

<ul>
  <li>If you're accepting the raw input form a user, make sure you're sanitizing the input and formatting it properly. Many libraries can help with this, like [libphonenumber-js](http://libphonenumber-js).</li>
  <li>Check that the phone number is properly formatted with the E. 164 format, e.g. “+14155551234”</li>
  <li>Check that the phone number only includes allowed characters, i.e. dashes “555-1234” and parentheses “(415)” are not included.</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_phone_number",
  "error_message": "Phone number format is invalid. Ensure the phone number is in the E.164 format.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_phone_number"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_phone\_number\_country\_code

400 **Invalid phone number country code**

The phone number's country code is invalid, unsupported, or disabled for your Project.

Common Causes

<ul>
  <li>SMS to phone numbers outside of the US and Canada is disabled by default for customers who did not use SMS prior to October 2023. If you're interested in sending international SMS, please add those countries to your Project's allowlist via the [Dashboard](https://stytch.com/dashboard/country-code-allowlists) or [Programmatic Workspace Actions](https://stytch.com/docs/workspace-management/pwa/set-allowed-country-codes.md), and [add credit card details](https://stytch.com/dashboard/settings/billing) to your account.</li>
  <li>Regardless of whether or not you are enabled for international SMS, Stytch does not support sending SMS to countries on our [Unsupported countries list](https://stytch.com/docs/guides/passcodes/unsupported-countries.md).</li>
</ul>

Troubleshooting

<ul>
  <li>Make sure that the country code you've provided is correctly formatted.</li>
  <li>Make sure that the country is not included in our [Unsupported countries list](https://stytch.com/docs/guides/passcodes/unsupported-countries.md).</li>
  <li>Make sure that your Stytch project has the phone number's country code added to its allowlist via the [Dashboard](https://stytch.com/dashboard/country-code-allowlists) or [Programmatic Workspace Actions](https://stytch.com/docs/workspace-management/pwa/set-allowed-country-codes.md).</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_phone_number_country_code",
  "error_message": "The phone number's country code is invalid, unsupported, or disabled for your Stytch Workspace. Please see here for additional information: https://stytch.com/docs/api/errors/400#invalid_phone_number_country_code",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_phone_number_country_code"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_phone\_number\_docs

400 **Invalid phone number docs**

Thanks for trying Stytch! Replace the test phone number with a valid one to start sending one-time passcodes.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_phone_number_docs",
  "error_message": "Thanks for trying Stytch! Replace the test phone number with a valid one to start sending one-time passcodes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_phone_number_docs"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_phone\_number\_sandbox

400 **Invalid phone number sandbox**

Phone number is invalid. The sandbox phone number, +10000000000, can only be used in the Test environment.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_phone_number_sandbox",
  "error_message": "Phone number is invalid. The sandbox phone number, +10000000000, can only be used in the Test environment.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_phone_number_sandbox"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_phpass\_hash\_format

400 **Invalid phpass hash format**

The phpass hash has an incorrect format as it needs to be exactly 34 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_phpass_hash_format",
  "error_message": "The phpass hash has an incorrect format as it needs to be exactly 34 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_phpass_hash_format"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_phpass\_hash\_prefix

400 **Invalid phpass hash prefix**

The phpass hash is invalid as it needs to start with $P$

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_phpass_hash_prefix",
  "error_message": "The phpass hash is invalid as it needs to start with $P$",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_phpass_hash_prefix"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_pkce\_code\_challenge

400 **Invalid pkce code challenge**

The PKCE Code Challenge param may only contain alphanumerics and the reserved characters '-', '.', '\_', or '\~'. It must also be between 43 and 128 characters long. Please refer to [https://datatracker.ietf.org/doc/html/rfc7636#section-4.2](https://datatracker.ietf.org/doc/html/rfc7636#section-4.2) for details.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_pkce_code_challenge",
  "error_message": "The PKCE Code Challenge param may only contain alphanumerics and the reserved characters '-', '.', '_', or '~'. It must also be between 43 and 128 characters long. Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2 for details.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_pkce_code_challenge"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_pkce\_code\_verifier

400 **Invalid pkce code verifier**

The PKCE Code Verifier param may only contain alphanumerics and the reserved characters '-', '.', '\_', or '\~'. It must also be between 43 and 128 characters long. Please refer to [https://datatracker.ietf.org/doc/html/rfc7636#section-4.1](https://datatracker.ietf.org/doc/html/rfc7636#section-4.1) for details.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_pkce_code_verifier",
  "error_message": "The PKCE Code Verifier param may only contain alphanumerics and the reserved characters '-', '.', '_', or '~'. It must also be between 43 and 128 characters long. Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1 for details.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_pkce_code_verifier"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_prepend\_salt

400 **Invalid prepend salt**

The prepend\_salt value is not supported because it's too long.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_prepend_salt",
  "error_message": "The prepend_salt value is not supported because it's too long.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_prepend_salt"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_project\_id

400 **Invalid project id**

project\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_project_id",
  "error_message": "project_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_project_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_project\_id\_authentication

400 **Invalid project id authentication**

The project ID provided in the basic authentication header is invalid. Please check to make sure the format is correct and there are no trailing whitespaces. To view your project ID please visit the Stytch Dashboard [here](https://stytch.com/dashboard).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_project_id_authentication",
  "error_message": "The project ID provided in the basic authentication header is invalid. Please check to make sure the format is correct and there are no trailing whitespaces. To create a new project or confirm an existing project ID please visit the Stytch dashboard here: https://stytch.com/dashboard/api-keys",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_project_id_authentication"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_project\_name

400 **Invalid project name**

The project name is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_project_name",
  "error_message": "The project name is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_project_name"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key

400 **Invalid public key**

Invalid public key. The key is present but is malformed and cannot be decoded. The field should be base64 encoded.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key",
  "error_message": "Invalid public key. The key is present but is malformed and cannot be decoded. The field should be base64 encoded.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential

400 **Invalid public key credential**

Invalid public key credential. Please confirm you're passing a correctly formatted public key credential.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential",
  "error_message": "Invalid public key credential. Please confirm you're passing a correctly formatted public key credential.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_invalid\_authenticator\_data

400 **Invalid public key credential invalid authenticator data**

Invalid public key credential. The authenticatorData field is present but is malformed and cannot be decoded. The field should be base64 encoded.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_invalid_authenticator_data",
  "error_message": "Invalid public key credential. The authenticatorData field is present but is malformed and cannot be decoded. The field should be base64 encoded.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_invalid_authenticator_data"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_invalid\_id

400 **Invalid public key credential invalid id**

Invalid public key credential. The id field is present but is malformed and cannot be decoded. The field should be base64 encoded.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_invalid_id",
  "error_message": "Invalid public key credential. The id field is present but is malformed and cannot be decoded. The field should be base64 encoded.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_invalid_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_invalid\_signature

400 **Invalid public key credential invalid signature**

Invalid public key credential. The signature field is present but is malformed and cannot be decoded. The field should be base64 encoded.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_invalid_signature",
  "error_message": "Invalid public key credential. The signature field is present but is malformed and cannot be decoded. The field should be base64 encoded.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_invalid_signature"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_malformed\_attestation\_object

400 **Invalid public key credential malformed attestation object**

Invalid public key credential. The attestationObject field is present but is malformed and cannot be parsed.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_malformed_attestation_object",
  "error_message": "Invalid public key credential. The attestationObject field is present but is malformed and cannot be parsed.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_malformed_attestation_object"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_malformed\_client\_data\_json

400 **Invalid public key credential malformed client data json**

Invalid public key credential. The clientDataJSON field is present but is malformed and cannot be parsed.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_malformed_client_data_json",
  "error_message": "Invalid public key credential. The clientDataJSON field is present but is malformed and cannot be parsed.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_malformed_client_data_json"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_missing\_attestation\_object\_field

400 **Invalid public key credential missing attestation object field**

Invalid public key credential. The public key credential is missing the attestationObject field.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_missing_attestation_object_field",
  "error_message": "Invalid public key credential. The public key credential is missing the attestationObject field.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_missing_attestation_object_field"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_missing\_authenticator\_data\_field

400 **Invalid public key credential missing authenticator data field**

Invalid public key credential. The public key credential is missing the authenticatorData field.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_missing_authenticator_data_field",
  "error_message": "Invalid public key credential. The public key credential is missing the authenticatorData field.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_missing_authenticator_data_field"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_missing\_client\_data\_json\_field

400 **Invalid public key credential missing client data json field**

Invalid public key credential. The public key credential is missing the clientDataJSON field.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_missing_client_data_json_field",
  "error_message": "Invalid public key credential. The public key credential is missing the clientDataJSON field.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_missing_client_data_json_field"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_missing\_id\_field

400 **Invalid public key credential missing id field**

Invalid public key credential. The public key credential is missing an id field.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_missing_id_field",
  "error_message": "Invalid public key credential. The public key credential is missing an id field.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_missing_id_field"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_missing\_response\_field

400 **Invalid public key credential missing response field**

Invalid public key credential. The public key credential is missing the response field.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_missing_response_field",
  "error_message": "Invalid public key credential. The public key credential is missing the response field.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_missing_response_field"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_key\_credential\_missing\_signature\_field

400 **Invalid public key credential missing signature field**

Invalid public key credential. The public key credential is missing the signature field.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_key_credential_missing_signature_field",
  "error_message": "Invalid public key credential. The public key credential is missing the signature field.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_key_credential_missing_signature_field"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_public\_token\_id

400 **Invalid public token id**

The `public_token` used to instantiate the Stytch SDK is invalid. You can find your `public_token` in the [Project ID & API keys section of the Project Overview](https://stytch.com/dashboard) in the Stytch Dashboard.

Common Causes

<ul>
  <li>No `public_token` was passed in when loading the Stytch SDK.</li>
  <li>The `public_token` passed was invalid, e.g. it contains quotes, was of an incorrect length or format, etc.</li>
</ul>

Troubleshooting

<ul>
  <li>Check that your environment contains your Stytch `public_token`.</li>
  <li>Check that you're passing the `public_token` in via the correct method. You can see how to launch each Stytch SDK by visiting their respective [Docs](https://stytch.com/docs/sdks.md).</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_public_token_id",
  "error_message": "public_token_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_public_token_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_rbac\_custom\_role

400 **Invalid rbac custom role**

You may not use the pre-defined role names of 'stytch\_member' or 'stytch\_admin' in your custom roles.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_rbac_custom_role",
  "error_message": "You may not use the pre-defined role names of 'stytch_member' or 'stytch_admin' in your custom roles.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_rbac_custom_role"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_rbac\_role\_assignment

400 **Invalid rbac role assignment**

The role assignment provided is not properly formatted. Make sure both a domain and role\_id are included.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_rbac_role_assignment",
  "error_message": "The role assignment provided is not properly formatted. Make sure both a domain and role_id are included.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_rbac_role_assignment"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_rbac\_role\_id

400 **Invalid rbac role id**

The role\_id provided is not valid for this project's RBAC policy.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_rbac_role_id",
  "error_message": "The role_id provided is not valid for this project's RBAC policy.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_rbac_role_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_rbac\_scope

400 **Invalid rbac scope**

Scopes cannot contain whitespace, '\\', or '"'

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_rbac_scope",
  "error_message": "Scopes cannot contain whitespace, '\\\\', or '\\\"'",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_rbac_scope"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_rbac\_stytch\_role\_edit

400 **Invalid rbac stytch role edit**

You may not edit the role\_id or description of the stytch\_user, stytch\_member, or stytch\_admin roles.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_rbac_stytch_role_edit",
  "error_message": "You may not edit the role_id or description of the stytch_user, stytch_member, or stytch_admin roles.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_rbac_stytch_role_edit"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_recovery\_code

400 **Invalid recovery code**

The recovery\_code submitted was invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_recovery_code",
  "error_message": "The recovery_code submitted was invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_recovery_code"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_redirect\_url\_type

400 **Invalid redirect url type**

Invalid redirect URL Type. Type should be login, invite, signup, reset\_password, or discovery. Only B2B projects can pass discovery.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_redirect_url_type",
  "error_message": "Invalid redirect URL Type. Type should be login, invite, signup, reset_password, or discovery. Only B2B projects can pass discovery.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_redirect_url_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_reply\_to\_local\_part

400 **Invalid reply to local part**

reply\_to\_local\_part format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_reply_to_local_part",
  "error_message": "reply_to_local_part format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_reply_to_local_part"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_request

400 **Invalid request**

Invalid request. Ensure that your project ID exists is passed into the URI path.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_request",
  "error_message": "Invalid request. Ensure that your project ID exists is passed into the URI path.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_request"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_request\_id

400 **Invalid request id**

request\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_request_id",
  "error_message": "request_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_request_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_request\_value

400 **Invalid request value**

Invalid request value, request is required and must have a value.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_request_value",
  "error_message": "Invalid request value, request is required and must have a value.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_request_value"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_role

400 **Invalid role**

Role specified is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_role",
  "error_message": "Role specified is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_role"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_scope

400 **Invalid scope**

Please make sure that the scopes requested are included in the client.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_scope",
  "error_message": "Please make sure that the scopes requested are included in the client.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_scope"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_scope\_parameter

400 **Invalid scope parameter**

`scopes` is not a recognized parameter. Please use `scope` instead.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_scope_parameter",
  "error_message": "`scopes` is not a recognized parameter. Please use `scope` instead.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_scope_parameter"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_scrypt\_n\_parameter

400 **Invalid scrypt n parameter**

The n parameter is invalid. It needs to be greater than 1, a power of 2, and less than or equal to 262,144. If you need a higher n parameter, please email [support@stytch.com](mailto:support@stytch.com).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_scrypt_n_parameter",
  "error_message": "The n parameter is invalid. It needs to be greater than 1, a power of 2, and less than or equal to 262,144. If you need a higher n parameter, please email support@stytch.com.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_scrypt_n_parameter"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_scrypt\_parameters

400 **Invalid scrypt parameters**

The scrypt parameters are too large. The r parameter multiplied by p parameter must be under 2 raised to the 30th power (r \* p \< 2^30).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_scrypt_parameters",
  "error_message": "The scrypt parameters are too large. The r parameter multiplied by p parameter must be under 2 raised to the 30th power (r * p < 2^30).",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_scrypt_parameters"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_scrypt\_salt\_length

400 **Invalid scrypt salt length**

The salt value is an unsupported length.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_scrypt_salt_length",
  "error_message": "The salt value is an unsupported length.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_scrypt_salt_length"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_secret\_authentication

400 **Invalid secret authentication**

The secret provided in the basic authentication header is invalid. Please check to make sure the format is correct and there are no trailing whitespaces. To create a new secret for your project or to confirm an existing secret please visit the Stytch Dashboard [here](https://stytch.com/dashboard).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_secret_authentication",
  "error_message": "The secret provided in the basic authentication header is invalid. Please check to make sure the format is correct and there are no trailing whitespaces. To create a new secret for your project or to confirm an existing secret please visit the Stytch dashboard here: https://stytch.com/dashboard/api-keys",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_secret_authentication"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_secret\_id

400 **Invalid secret id**

secret\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_secret_id",
  "error_message": "secret_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_secret_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_session\_duration\_minutes

400 **Invalid session duration minutes**

session\_duration\_minutes is invalid, should be between 5 to 527040 minutes.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_session_duration_minutes",
  "error_message": "session_duration_minutes is invalid, should be between 5 to 527040 minutes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_session_duration_minutes"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_session\_id

400 **Invalid session id**

session\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_session_id",
  "error_message": "session_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_session_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_session\_management

400 **Invalid session management**

session\_management\_type should be set to 'none', 'idp', or 'stytch'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_session_management",
  "error_message": "session_management_type should be set to 'none', 'idp', or 'stytch'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_session_management"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_session\_missing\_primary\_factor

400 **Invalid session missing primary factor**

Cannot create a new session without primary factors.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_session_missing_primary_factor",
  "error_message": "Cannot create a new session without primary factors.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_session_missing_primary_factor"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_session\_token

400 **Invalid session token**

The session\_token format is invalid (i.e. not properly formatted). Stytch will return this error if the `session_token` or `session_jwt` is invalid, e.g. malformed, too few characters, too many etc.

Common Causes

<ul>
  <li>Your backend or frontend  is not properly parsing the session value from where you are storing it, e.g. you're parsing and passing the key *and* value instead of just the value.</li>
  <li>You are running automated tests with a placeholder value, e.g. “test-123”,  for sessions against our API.</li>
</ul>

Troubleshooting

<ul>
  <li>Double check your parsing logic for pulling the `session_token` or `session_jwt`. Make sure that you are only pulling the value itself and preserving the full length of each.</li>
  <li>`session_token`s are 44 characters long and may include numbers, letters, and special characters.</li>
  <li>`session_jwt`s can be arbitrarily long depending upon their contents, and conform to [RFC 7519](https://www.rfc-editor.org/rfc/rfc7519).</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_session_token",
  "error_message": "Session token format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_session_token"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_session\_token\_docs

400 **Invalid session token docs**

The session\_token you provided is a sample one from the Docs. Please use a session\_token that you received from a /sessions/authenticate request.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_session_token_docs",
  "error_message": "The session_token you provided is a sample one from the Docs. Please use a session_token that you received from a /sessions/authenticate request.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_session_token_docs"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_sha\_1\_hash

400 **Invalid sha 1 hash**

The SHA-1 hash passed is not valid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_sha_1_hash",
  "error_message": "The SHA-1 hash passed is not valid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_sha_1_hash"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_sha\_512\_hash

400 **Invalid sha 512 hash**

The SHA-512 hash passed is not valid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_sha_512_hash",
  "error_message": "The SHA-512 hash passed is not valid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_sha_512_hash"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_signature

400 **Invalid signature**

signature is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_signature",
  "error_message": "signature is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_signature"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_signup\_magic\_link\_url

400 **Invalid signup magic link url**

signup\_magic\_link\_url format is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_signup_magic_link_url",
  "error_message": "signup_magic_link_url format is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_signup_magic_link_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_signup\_oauth\_url

400 **Invalid signup oauth url**

signup\_redirect\_url format is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_signup_oauth_url",
  "error_message": "signup_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_signup_oauth_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_signup\_redirect\_url

400 **Invalid signup redirect url**

signup\_redirect\_url format is invalid. Common issues include using http instead of https or omitting https\://.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_signup_redirect_url",
  "error_message": "signup_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_signup_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_siwe\_chain\_id

400 **Invalid siwe chain id**

chain\_id must be the string representation of an integer between 1 and 9,223,372,036,854,775,771, inclusive.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_siwe_chain_id",
  "error_message": "chain_id must be the string representation of an integer between 1 and 9,223,372,036,854,775,771, inclusive.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_siwe_chain_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_siwe\_domain

400 **Invalid siwe domain**

Domain must be a valid RFC 3986 authority. Do not include the scheme in the domain.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_siwe_domain",
  "error_message": "Domain must be a valid RFC 3986 authority. Do not include the scheme in the domain.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_siwe_domain"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_siwe\_message\_request\_id

400 **Invalid siwe message request id**

message\_request\_id must be a valid pchar according to RFC 3986 definitions and must not exceed 100 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_siwe_message_request_id",
  "error_message": "message_request_id must be a valid pchar according to RFC 3986 definitions and must not exceed 100 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_siwe_message_request_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_siwe\_resource

400 **Invalid siwe resource**

Resources must be a list of valid RFC 3986 URIs.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_siwe_resource",
  "error_message": "Resources must be a list of valid RFC 3986 URIs.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_siwe_resource"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_siwe\_statement

400 **Invalid siwe statement**

Statement may only include reserved, unreserved, or space characters according to RFC 3986 definitions. The statement must not contain other forms of whitespace such as newlines, tabs, and carriage returns. The statement must not exceed 200 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_siwe_statement",
  "error_message": "Statement may only include reserved, unreserved, or space characters according to RFC 3986 definitions. The statement must not contain other forms of whitespace such as newlines, tabs, and carriage returns. The statement must not exceed 200 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_siwe_statement"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_siwe\_uri

400 **Invalid siwe uri**

URI must be a valid RFC 3986 URI.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_siwe_uri",
  "error_message": "URI must be a valid RFC 3986 URI.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_siwe_uri"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_solana\_address

400 **Invalid solana address**

crypto\_wallet\_address format is invalid for an Solana address. Expecting a 32 or 44 character base58 string.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_solana_address",
  "error_message": "crypto_wallet_address format is invalid for an Solana address. Expecting a 32 or 44 character base58 string.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_solana_address"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_stytch\_prefixed\_resource

400 **Invalid stytch prefixed resource**

RBAC resources may not be prefixed with `stytch`.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_stytch_prefixed_resource",
  "error_message": "RBAC resources may not be prefixed with `stytch`.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_stytch_prefixed_resource"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_subject

400 **Invalid subject**

The subject provided is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_subject",
  "error_message": "The subject provided is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_subject"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_template\_id

400 **Invalid template id**

template\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_template_id",
  "error_message": "template_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_template_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_template\_values

400 **Invalid template values**

template\_values must only consist of string keys that map to string values.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_template_values",
  "error_message": "template_values must only consist of string keys that map to string values.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_template_values"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_token

400 **Invalid token**

Token format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_token",
  "error_message": "Token format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_token"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_token\_docs

400 **Invalid token docs**

Thanks for trying Stytch! Replace the test token with a valid one found in a Stytch email to start authenticating users.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_token_docs",
  "error_message": "Thanks for trying Stytch! Replace the test token with a valid one found in a Stytch email to start authenticating users.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_token_docs"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_totp\_code

400 **Invalid totp code**

The totp\_code submitted was invalid. The totp\_code must be 6 digits long.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_totp_code",
  "error_message": "The totp_code submitted was invalid. The totp_code must be 6 digits long.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_totp_code"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_totp\_id

400 **Invalid totp id**

totp\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_totp_id",
  "error_message": "totp_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_totp_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_trusted\_auth\_token

400 **Invalid trusted auth token**

Provided trusted auth token is not valid

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_trusted_auth_token",
  "error_message": "Provided trusted auth token is not valid",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_trusted_auth_token"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_url

400 **Invalid url**

URL format is invalid. Common issues include using http instead of https or omitting https\://. If including query parameters use {} as a placeholder value. For example: [https://example.com/authenticate?redirect=\{}](https://example.com/authenticate?redirect=\{})

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_url",
  "error_message": "URL format is invalid. Common issues include using http instead of https or omitting https://. If including query parameters use {} as a placeholder value. For example: https://example.com/authenticate?redirect={}",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_user\_agent

400 **Invalid user agent**

user\_agent format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_user_agent",
  "error_message": "user_agent format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_user_agent"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_user\_id

400 **Invalid user id**

The `user_id` is invalid (i.e. not properly formatted) or missing. `user-test-16d9ba61-97a1-4ba4-9720-b03761dc50c6` is an example `user_id`.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_user_id",
  "error_message": "user_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_user_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_user\_lock\_threshold

400 **Invalid user lock threshold**

User lock threshold must be inside the range \[1, 100]

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_user_lock_threshold",
  "error_message": "User lock threshold must be inside the range [1, 100]",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_user_lock_threshold"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_user\_lock\_ttl

400 **Invalid user lock ttl**

User lock TTL value must be inside range \[300, 604800]

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_user_lock_ttl",
  "error_message": "User lock TTL value must be inside range [300, 604800]",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_user_lock_ttl"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_wallet\_address\_user

400 **Invalid wallet address user**

The passed crypto\_wallet\_address belongs to a different user than the user\_id provided.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_wallet_address_user",
  "error_message": "The passed crypto_wallet_address belongs to a different user than the user_id provided.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_wallet_address_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_wallet\_type

400 **Invalid wallet type**

crypto\_wallet\_type is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_wallet_type",
  "error_message": "crypto_wallet_type is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_wallet_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_webauthn\_registration\_domain

400 **Invalid webauthn registration domain**

The domain cannot be longer than 255 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_webauthn_registration_domain",
  "error_message": "The domain cannot be longer than 255 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_webauthn_registration_domain"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_webauthn\_registration\_id

400 **Invalid webauthn registration id**

webauthn\_registration\_id format is invalid.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_webauthn_registration_id",
  "error_message": "webauthn_registration_id format is invalid.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_webauthn_registration_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## invalid\_wildcard\_action

400 **Invalid wildcard action**

RBAC actions may not contain the wild character, `*`.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_wildcard_action",
  "error_message": "RBAC actions may not contain the wild character, `*`.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#invalid_wildcard_action"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## jwt\_template\_invalid\_json

400 **Jwt template invalid json**

JWT Template did not produce valid JSON output.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "jwt_template_invalid_json",
  "error_message": "JWT Template did not produce valid JSON output.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#jwt_template_invalid_json"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## jwt\_template\_invalid\_tag

400 **Jwt template invalid tag**

JWT Template contains an invalid tag.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "jwt_template_invalid_tag",
  "error_message": "JWT Template contains an invalid tag.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#jwt_template_invalid_tag"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## jwt\_template\_mismatched\_tag

400 **Jwt template mismatched tag**

JWT Template contains a mismatched set of tags.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "jwt_template_mismatched_tag",
  "error_message": "JWT Template contains a mismatched set of tags.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#jwt_template_mismatched_tag"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## live\_id\_used\_in\_test\_environment

400 **Live id used in test environment**

Invalid argument sent to Test environment. Looks like you supplied a Live identifier for a request for the Test environment (test.stytch.com). Try sending a request to api.stytch.com instead or using a different identifier.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "live_id_used_in_test_environment",
  "error_message": "Invalid argument sent to Test environment. Looks like you supplied a Live identifier for a request for the Test environment (test.stytch.com). Try sending a request to api.stytch.com instead or using a different identifier.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#live_id_used_in_test_environment"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_client\_already\_rotating\_secret

400 **M2m client already rotating secret**

The client is already in a secret rotation flow. Please finish or cancel the current secret rotation flow before starting a new one.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_client_already_rotating_secret",
  "error_message": "The client is already in a secret rotation flow. Please finish or cancel the current secret rotation flow before starting a new one.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_client_already_rotating_secret"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_client\_invalid\_client\_description

400 **M2m client invalid client description**

M2M Client Description may not be larger than 512 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_client_invalid_client_description",
  "error_message": "M2M Client Description may not be larger than 512 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_client_invalid_client_description"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_client\_invalid\_client\_id

400 **M2m client invalid client id**

M2M Client ID may not be larger than 128 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_client_invalid_client_id",
  "error_message": "M2M Client ID may not be larger than 128 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_client_invalid_client_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_client\_invalid\_client\_name

400 **M2m client invalid client name**

M2M Client Name may not be larger than 128 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_client_invalid_client_name",
  "error_message": "M2M Client Name may not be larger than 128 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_client_invalid_client_name"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_client\_invalid\_client\_secret

400 **M2m client invalid client secret**

M2M Client Secret may not be larger than 128 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_client_invalid_client_secret",
  "error_message": "M2M Client Secret may not be larger than 128 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_client_invalid_client_secret"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_client\_invalid\_status

400 **M2m client invalid status**

M2M Client status must be either 'active' or 'inactive'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_client_invalid_status",
  "error_message": "M2M Client status must be either 'active' or 'inactive'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_client_invalid_status"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_client\_not\_found

400 **M2m client not found**

The m2m client requested could not be found.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_client_not_found",
  "error_message": "The m2m client requested could not be found.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_client_not_found"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_client\_not\_rotating\_secret

400 **M2m client not rotating secret**

The client is not in a secret rotation flow. Please start a secret rotation flow before calling this endpoint.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_client_not_rotating_secret",
  "error_message": "The client is not in a secret rotation flow. Please start a secret rotation flow before calling this endpoint.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_client_not_rotating_secret"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_search\_expected\_array\_of\_strings

400 **M2m search expected array of strings**

Expected m2m search filter\_value to contain an array of strings.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_search_expected_array_of_strings",
  "error_message": "Expected m2m search filter_value to contain an array of strings.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_search_expected_array_of_strings"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_search\_filter\_name\_must\_be\_string

400 **M2m search filter name must be string**

Expected m2m search operand 'filter\_name' to be a string.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_search_filter_name_must_be_string",
  "error_message": "Expected m2m search operand 'filter_name' to be a string.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_search_filter_name_must_be_string"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_search\_filter\_name\_not\_recognized

400 **M2m search filter name not recognized**

The m2m search operand filter name was not recognized.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_search_filter_name_not_recognized",
  "error_message": "The m2m search operand filter name was not recognized.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_search_filter_name_not_recognized"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_search\_missing\_filter\_name

400 **M2m search missing filter name**

Expected m2m search operand to contain a 'filter\_name' key.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_search_missing_filter_name",
  "error_message": "Expected m2m search operand to contain a 'filter_name' key.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_search_missing_filter_name"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## m2m\_search\_missing\_filter\_value

400 **M2m search missing filter value**

Expected m2m search operand to contain a filter\_value key.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "m2m_search_missing_filter_value",
  "error_message": "Expected m2m search operand to contain a filter_value key.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#m2m_search_missing_filter_value"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## migrate\_from\_external\_email\_does\_not\_exist

400 **Migrate from external email does not exist**

Please ensure that the user and email exist before migrating an external session.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "migrate_from_external_email_does_not_exist",
  "error_message": "Please ensure that the user and email exist before migrating an external session.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#migrate_from_external_email_does_not_exist"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## migrate\_from\_external\_missing\_userinfo

400 **Migrate from external missing userinfo**

The project is missing the OIDC userinfo endpoint. Please configure one in the Stytch dashboard and try again.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "migrate_from_external_missing_userinfo",
  "error_message": "The project is missing the OIDC userinfo endpoint. Please configure one in the Stytch dashboard and try again.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#migrate_from_external_missing_userinfo"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## migrate\_from\_external\_unexpected\_response

400 **Migrate from external unexpected response**

An error was encountered when querying the external provider's userinfo endpoint.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "migrate_from_external_unexpected_response",
  "error_message": "An error was encountered when querying the external provider's userinfo endpoint.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#migrate_from_external_unexpected_response"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## missing\_apple\_app\_id

400 **Missing apple app id**

The Apple OAuth config is missing an App ID value.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "missing_apple_app_id",
  "error_message": "The Apple OAuth config is missing an App ID value.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#missing_apple_app_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## missing\_sms\_parameter

400 **Missing sms parameter**

One or more of the parameters in the custom SMS request could not be found.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "missing_sms_parameter",
  "error_message": "One or more of the parameters in the custom SMS request could not be found.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#missing_sms_parameter"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## must\_have\_jwks\_url\_for\_trusted\_token\_profile\_with\_type\_jwk

400 **Must have jwks url for trusted token profile with type jwk**

This trusted token profile using public key type JWK must have a JWKS url

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "must_have_jwks_url_for_trusted_token_profile_with_type_jwk",
  "error_message": "This trusted token profile using public key type JWK must have a JWKS url",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#must_have_jwks_url_for_trusted_token_profile_with_type_jwk"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## must\_have\_pem\_files\_for\_trusted\_token\_profile\_with\_type\_pem

400 **Must have pem files for trusted token profile with type pem**

This trusted token profile using public key type PEM must have at least one PEM file

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "must_have_pem_files_for_trusted_token_profile_with_type_pem",
  "error_message": "This trusted token profile using public key type PEM must have at least one PEM file",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#must_have_pem_files_for_trusted_token_profile_with_type_pem"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_active\_biometric\_registrations

400 **No active biometric registrations**

No active mobile biometric registrations were found.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_active_biometric_registrations",
  "error_message": "No active mobile biometric registrations were found.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_active_biometric_registrations"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_active\_webauthn\_registrations

400 **No active webauthn registrations**

No active WebAuthn registrations for this user ID and domain. To create one, first hit the WebAuthn [register/start](https://stytch.com/docs/api/webauthn-register-start.md) endpoint. Complete the registration by subsequently hitting the WebAuthn [register](https://stytch.com/docs/api/webauthn-register.md) endpoint.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_active_webauthn_registrations",
  "error_message": "No active WebAuthn registrations for this user ID and domain. To create one, first hit the WebAuthn register/start endpointwith the supplied user ID and domain: https://stytch.com/docs/api/webauthn-register-start. Complete the registration by subsequently hitting the WebAuthn register endpoint: https://stytch.com/docs/api/webauthn-register.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_active_webauthn_registrations"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_associated\_session\_passed\_in

400 **No associated session passed in**

A session was passed in on the /send request but not on this request

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_associated_session_passed_in",
  "error_message": "A session was passed in on the /send request but not on this request",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_associated_session_passed_in"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_default\_discovery\_redirect\_url\_set

400 **No default discovery redirect url set**

There is no default discovery redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a discovery redirect URL in the request or set a default for this project. To set discovery redirect URLs for this project please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls)

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_default_discovery_redirect_url_set",
  "error_message": "There is no default discovery redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a discovery redirect URL in the request or set a default for this project. To set discovery redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_default_discovery_redirect_url_set"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_default\_invite\_redirect\_url\_set

400 **No default invite redirect url set**

There is no default invite redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a invite redirect URL in the request or set a default for this project. To set invite redirect URLs for this project please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls)

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_default_invite_redirect_url_set",
  "error_message": "There is no default invite redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a invite redirect URL in the request or set a default for this project. To set invite redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_default_invite_redirect_url_set"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_default\_login\_redirect\_url\_set

400 **No default login redirect url set**

There is no default login redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a login redirect URL in the request or set a default for this project. To set login redirect URLs for this project please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls)

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_default_login_redirect_url_set",
  "error_message": "There is no default login redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a login redirect URL in the request or set a default for this project. To set login redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_default_login_redirect_url_set"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_default\_signup\_redirect\_url\_set

400 **No default signup redirect url set**

There is no default signup redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a signup redirect URL in the request or set a default for this project. To set signup redirect URLs for this project please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls)

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_default_signup_redirect_url_set",
  "error_message": "There is no default signup redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a signup redirect URL in the request or set a default for this project. To set signup redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_default_signup_redirect_url_set"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_invite\_redirect\_url

400 **No invite redirect url**

There are no invite redirect URLs registered. To set invite redirect URLs for this project please visit [here](https://stytch.com/dashboard/redirect-urls). For more information on why this validation is necessary please read more [here](https://stytch.com/docs/api/url-validation.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_invite_redirect_url",
  "error_message": "There are no invite redirect URLs registered. To set invite redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_invite_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_invite\_redirect\_urls\_set

400 **No invite redirect urls set**

Unable to verify the provided `invite_magic_link_url`. There are no invite redirect URLs set for this project so we are unable to verify the `invite_magic_link_url` provided in the request. To set invite redirect URLs for the project please visit the Dashboard [here](https://stytch.com/dashboard/redirect-urls). For more information on why this validation is necessary please read more [here](https://stytch.com/docs/api/url-validation.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_invite_redirect_urls_set",
  "error_message": "Unable to verify the provided invite_magic_link_url. There are no invite redirect URLs set for this project so we are unable to verify the invite_magic_link_url provided in the request. To set invite redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_invite_redirect_urls_set"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_login\_redirect\_url

400 **No login redirect url**

There are no login redirect URLs registered. To set login redirect URLs for this project please visit [here](https://stytch.com/dashboard/redirect-urls). For more information on why this validation is necessary please read more [here](https://stytch.com/docs/api/url-validation.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_login_redirect_url",
  "error_message": "There are no login redirect URLs registered. To set login redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_login_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_login\_redirect\_urls\_set

400 **No login redirect urls set**

Unable to verify the provided `login_magic_link_url`. There are no login redirect URLs set for this project so we are unable to verify the `login_magic_link_url` provided in the request. To set login redirect URLs for the project please visit the Dashboard [here](https://stytch.com/dashboard/redirect-urls). For more information on why this validation is necessary please read more [here](https://stytch.com/docs/api/url-validation.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_login_redirect_urls_set",
  "error_message": "Unable to verify the provided login_magic_link_url. There are no login redirect URLs set for this project so we are unable to verify the login_magic_link_url provided in the request. To set login redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_login_redirect_urls_set"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_match\_for\_provided\_magic\_link\_url

400 **No match for provided magic link url**

The `magic_link_url` in the request did not match any redirect URLs set for the project. Please visit the Stytch Dashboard [here](https://stytch.com/dashboard/redirect-urls) to update the redirect URLs for the project. For more information on why this validation is necessary please read more [here](https://stytch.com/docs/api/url-validation.md).

Common Causes

<ul>
  <li>The provided `magic_link_url` was not added to the Stytch Dashboard</li>
  <li>The provided `magic_link_url` contents were changed during development, and the Stytch Dashboard was not updated accordingly</li>
</ul>

Troubleshooting

<ul>
  <li>Compare provided `magic_link_url` with values in the Dashboard</li>
  <li>Be sure `magic_link_url` is a redirect URL in the Stytch environment you are using. The **Test** and **Live** redirect urls are configured separately with the Dashboard.</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_match_for_provided_magic_link_url",
  "error_message": "The magic_link_url in the request did not match any redirect URLs set for this project. Please visit https://stytch.com/dashboard/redirect-urls to update the redirect URLs for this project. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_match_for_provided_magic_link_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_match\_for\_provided\_oauth\_url

400 **No match for provided oauth url**

The oauth redirect url in the request did not match any redirect URLs set for this project. Please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls) to update the redirect URLs for this project. For more information on why this validation is necessary please visit [https://stytch.com/docs/api/url-validation](https://stytch.com/docs/api/url-validation.md)

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_match_for_provided_oauth_url",
  "error_message": "The oauth redirect url in the request did not match any redirect URLs set for this project. Please visit https://stytch.com/dashboard/redirect-urls to update the redirect URLs for this project. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_match_for_provided_oauth_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_match\_for\_provided\_sso\_url

400 **No match for provided sso url**

The sso redirect url in the request did not match any redirect URLs set for this project. Please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls) to update the redirect URLs for this project. For more information on why this validation is necessary please visit [https://stytch.com/docs/api/url-validation](https://stytch.com/docs/api/url-validation.md)

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_match_for_provided_sso_url",
  "error_message": "The sso redirect url in the request did not match any redirect URLs set for this project. Please visit https://stytch.com/dashboard/redirect-urls to update the redirect URLs for this project. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_match_for_provided_sso_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_oauth\_authorize\_user\_selector

400 **No oauth authorize user selector**

Please ensure only one of the following is passed: session\_token, session\_jwt, or user\_id. Exactly one of those values is required to identify the user.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_oauth_authorize_user_selector",
  "error_message": "Please ensure only one of the following is passed: session_token, session_jwt, or user_id. Exactly one of those values is required to identify the user.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_oauth_authorize_user_selector"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_password\_reset\_redirect\_url

400 **No password reset redirect url**

There are no password reset redirect URLs registered. To set password reset redirect URLs for this project please visit [here](https://stytch.com/dashboard/redirect-urls). For more information on why this validation is necessary please read more [here](https://stytch.com/docs/api/url-validation.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_password_reset_redirect_url",
  "error_message": "Unable to verify the provided reset_password_redirect_url. There are no password reset redirect URLs set for this project so we are unable to verify the reset_password_redirect_url provided in the request. To set password reset redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_password_reset_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_pending\_webauthn\_registration

400 **No pending webauthn registration**

Unable to find a pending registration tied to this user. Please ensure you've first hit the WebAuthn [register/start](https://stytch.com/docs/api/webauthn-register-start.md) endpoint with the supplied `user_id`.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_pending_webauthn_registration",
  "error_message": "Unable to find a pending registration tied to this user. Please ensure you've first hit the WebAuthn register/start endpoint with the supplied user ID: https://stytch.com/docs/api/webauthn-register-start.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_pending_webauthn_registration"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_session\_arguments

400 **No session arguments**

Please ensure you're passing exactly one session field.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_session_arguments",
  "error_message": "Please ensure you're passing exactly one session field.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_session_arguments"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_session\_revoke\_arguments

400 **No session revoke arguments**

Please include a session\_id, session\_token, session\_jwt, or a member\_id (if the project is a B2B project). Exactly one of those values is required to revoke a session.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_session_revoke_arguments",
  "error_message": "Please include a session_id, session_token, session_jwt, or a member_id (if the project is a B2B project). Exactly one of those values is required to revoke a session.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_session_revoke_arguments"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_signup\_redirect\_url

400 **No signup redirect url**

There are no sign-up redirect URLs registered. To set sign-up redirect URLs for this project please visit [here](https://stytch.com/dashboard/redirect-urls). For more information on why this validation is necessary please read more [here](https://stytch.com/docs/api/url-validation.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_signup_redirect_url",
  "error_message": "There are no signup redirect URLs registered. To set signup redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_signup_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_signup\_redirect\_urls\_set

400 **No signup redirect urls set**

Unable to verify the provided `signup_magic_link_url`. There are no sign-up redirect URLs set for this project so we are unable to verify the `signup_magic_link_url` provided in the request. To set signup redirect URLs for the project please visit the Dashboard [here](https://stytch.com/dashboard/redirect-urls). For more information on why this validation is necessary please read more [here](https://stytch.com/docs/api/url-validation.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_signup_redirect_urls_set",
  "error_message": "Unable to verify the provided signup_magic_link_url. There are no signup redirect URLs set for this project so we are unable to verify the signup_magic_link_url provided in the request. To set signup redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_signup_redirect_urls_set"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_user\_password

400 **No user password**

An existing user doesn't have an password. A password can be added to a user through the [password reset endpoint](https://stytch.com/docs/api/password-email-reset-start.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_user_password",
  "error_message": "user doesn't have an associated password.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_user_password"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_user\_selection\_arguments

400 **No user selection arguments**

Please include exactly one of user\_id, session\_token, or session\_jwt. This request did not contain any of those fields.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_user_selection_arguments",
  "error_message": "Please include exactly one of user_id, session_token, or session_jwt. This request did not contain any of those fields.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_user_selection_arguments"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## no\_wildcards\_in\_live\_redirect\_url

400 **No wildcards in live redirect url**

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_wildcards_in_live_redirect_url",
  "error_message": "",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#no_wildcards_in_live_redirect_url"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_access\_token\_exchange\_missing\_full\_access

400 **Oauth access token exchange missing full access**

The token used for Access Token exchange was missing the Full Access scope. The Full Access scope is required to call this endpoint.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_access_token_exchange_missing_full_access",
  "error_message": "The token used for Access Token exchange was missing the Full Access scope. The Full Access scope is required to call this endpoint.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_access_token_exchange_missing_full_access"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_access\_token\_exchange\_token\_invalid\_grant

400 **Oauth access token exchange token invalid grant**

The token used for Access Token exchange must be generated from an 'authorization\_code' grant.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_access_token_exchange_token_invalid_grant",
  "error_message": "The token used for Access Token exchange must be generated from an 'authorization_code' grant.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_access_token_exchange_token_invalid_grant"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_access\_token\_exchange\_token\_too\_old

400 **Oauth access token exchange token too old**

The token used for Access Token exchange is more than five minutes old. A fresh Access Token is required to call this endpoint.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_access_token_exchange_token_too_old",
  "error_message": "The token used for Access Token exchange is more than five minutes old. A fresh Access Token is required to call this endpoint.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_access_token_exchange_token_too_old"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_app\_not\_authorized

400 **Oauth app not authorized**

You did not authorize this app to perform a signup or login. To use this app, log in again and authorize the required permissions during the login flow. Please reach out to the application developer for more support.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_app_not_authorized",
  "error_message": "You did not authorize this app to perform a signup or login. To use this app, log in again and authorize the required permissions during the login flow. Please reach out to the application developer for more support.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_app_not_authorized"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_flow\_callback\_error

400 **Oauth flow callback error**

An error occurred during the OAuth callback.

Common Causes

<ul>
  <li>The OAuth flow couldn't be completed successfully. See the `error_details.replay_error_details` object for additional information regarding the cause of the error.</li>
  <li>If `error_details.replay_error_details.error` is `access_denied`, the user likely cancelled the OAuth flow partway through.</li>
</ul>

Troubleshooting

<ul>
  <li>Prompt the user to try completing the OAuth flow again from the beginning.</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_flow_callback_error",
  "error_message": "An error was encountered in the callback of the OAuth flow. Please try again.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_flow_callback_error"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_invalid\_callback\_request

400 **Oauth invalid callback request**

The OAuth callback request is invalid. Please reach out to the application developer for support.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_invalid_callback_request",
  "error_message": "The OAuth callback request is invalid. Please reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_invalid_callback_request"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_invalid\_scope\_requested

400 **Oauth invalid scope requested**

An invalid scope has been requested. Please check the set of scopes and try again.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_invalid_scope_requested",
  "error_message": "An invalid scope has been requested. Please check the set of scopes and try again.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_invalid_scope_requested"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_invalid\_state

400 **Oauth invalid state**

The OAuth state is invalid. Please reach out to the application developer for support.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_invalid_state",
  "error_message": "The OAuth state is invalid. Please reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_invalid_state"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_state\_mismatch

400 **Oauth state mismatch**

The state in the cookie doesn't match with the state in the query parameter. Please retry your login flow. If you continue receiving this error, reach out to the application developer for support.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_state_mismatch",
  "error_message": "The state in the cookie doesn't match with the state in the query parameter. Please retry your login flow. If you continue receiving this error, reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_state_mismatch"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_state\_used

400 **Oauth state used**

The OAuth state value has already been used.

Common Causes

<ul>
  <li>The user completed the same OAuth flow twice. For example, they completed the OAuth flow, then navigated back in the browser and completed it again.</li>
</ul>

Troubleshooting

<ul>
  <li>If the user already has an active Stytch Session, this error can likely be ignored.</li>
  <li>If the user does not have an active Stytch Session, prompt them to try completing the OAuth flow again from the beginning.</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_state_used",
  "error_message": "The OAuth state has previously been used. Please try the login flow again.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_state_used"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_token\_exchange\_google\_missing\_information

400 **Oauth token exchange google missing information**

Provider did not respond with required information during OAuth token exchange, please try again. If the problem persists, please reach out to support.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_token_exchange_google_missing_information",
  "error_message": "Provider did not respond with required information during OAuth token exchange, please try again. If the problem persists, please reach out to support.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_token_exchange_google_missing_information"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_token\_exchange\_invalid\_client

400 **Oauth token exchange invalid client**

Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). Please check the client ID and secret of your OAuth configuration.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_token_exchange_invalid_client",
  "error_message": "Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). Please check the client ID and secret of your OAuth configuration.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_token_exchange_invalid_client"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_token\_exchange\_invalid\_request

400 **Oauth token exchange invalid request**

The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed. Please reach out to support.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_token_exchange_invalid_request",
  "error_message": "The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed. Please reach out to support.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_token_exchange_invalid_request"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_token\_exchange\_invalid\_scope

400 **Oauth token exchange invalid scope**

The scopes requested were invalid. Please check the scopes you are requesting and try again.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_token_exchange_invalid_scope",
  "error_message": "The scopes requested were invalid. Please check the scopes you are requesting and try again.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_token_exchange_invalid_scope"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_token\_exchange\_microsoft\_expired\_secret

400 **Oauth token exchange microsoft expired secret**

Expired client secret provided. Ensure the secret in your OAuth configuration is up to date. You may need to add a new secret in your Microsoft Azure portal.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_token_exchange_microsoft_expired_secret",
  "error_message": "Expired client secret provided. Ensure the secret in your OAuth configuration is up to date. You may need to add a new secret in your Microsoft Azure portal.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_token_exchange_microsoft_expired_secret"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_token\_exchange\_microsoft\_invalid\_secret

400 **Oauth token exchange microsoft invalid secret**

Invalid client secret provided. Ensure the secret in your OAuth configuration is the client secret value, not the client secret ID.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_token_exchange_microsoft_invalid_secret",
  "error_message": "Invalid client secret provided. Ensure the secret in your OAuth configuration is the client secret value, not the client secret ID.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_token_exchange_microsoft_invalid_secret"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oauth\_token\_exchange\_unauthorized\_client

400 **Oauth token exchange unauthorized client**

The authenticated client is not authorized to use this authorization grant type. Please check your settings and try again. If the problem persists, please reach out to support.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_token_exchange_unauthorized_client",
  "error_message": "The authenticated client is not authorized to use this authorization grant type. Please check your settings and try again. If the problem persists, please reach out to support.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oauth_token_exchange_unauthorized_client"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oidc\_prompt\_none\_must\_be\_exclusive

400 **Oidc prompt none must be exclusive**

If 'none' is used as a value for the 'prompt' parameter, then it must be the only value.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_prompt_none_must_be_exclusive",
  "error_message": "If 'none' is used as a value for the 'prompt' parameter, then it must be the only value.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oidc_prompt_none_must_be_exclusive"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## oidc\_response\_email\_missing

400 **Oidc response email missing**

The information provided in the ID token and userinfo did not include a email.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_response_email_missing",
  "error_message": "The information provided in the ID token and userinfo did not include a email.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#oidc_response_email_missing"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## password\_already\_exists

400 **Password already exists**

User already has a password associated with it. Please use the [password reset endpoint](https://stytch.com/docs/api/password-email-reset-start.md) to update the password if needed.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "password_already_exists",
  "error_message": "email already has a password associated with it.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#password_already_exists"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## password\_validation\_timeout

400 **Password validation timeout**

Password validation timed out. Possible causes include an excessively long password or a high volume of requests.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "password_validation_timeout",
  "error_message": "Password validation timed out. Possible causes include an excessively long password or a high volume of requests.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#password_validation_timeout"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## passwords\_incompatible\_with\_sdk\_config

400 **Passwords incompatible with sdk config**

The passwords product is incompatible with opaque errors in the project SDK configuration. Please change the configuration in the dashboard to continue: [https://stytch.com/dashboard/sdk-configuration](https://stytch.com/dashboard/sdk-configuration).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "passwords_incompatible_with_sdk_config",
  "error_message": "The passwords product is incompatible with opaque errors in the project SDK configuration. Please change the configuration in the dashboard to continue: https://stytch.com/dashboard/sdk-configuration.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#passwords_incompatible_with_sdk_config"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## pbkdf\_2\_key\_length\_mismatch

400 **Pbkdf 2 key length mismatch**

The provided PBKDF-2 key\_length does not match the length of the decoded hash.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "pbkdf_2_key_length_mismatch",
  "error_message": "The provided PBKDF-2 key_length does not match the length of the decoded hash.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#pbkdf_2_key_length_mismatch"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## pending\_totp\_exists

400 **Pending totp exists**

Cannot create a new TOTP for the specified user since the user has a pending TOTP that has not yet expired. Please try creating a new TOTP for the user once the pending one has expired or delete the pending TOTP before attempting to create a new one.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "pending_totp_exists",
  "error_message": "Cannot create a new TOTP for the specified user since the user has a pending TOTP that has not yet expired. Please try creating a new TOTP for the user once the pending one has expired or delete the pending TOTP before attempting to create a new one.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#pending_totp_exists"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## pkce\_did\_not\_expect\_code\_verifier

400 **Pkce did not expect code verifier**

This flow was started without a code\_challenge but the authentication call includes a code\_verifier.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "pkce_did_not_expect_code_verifier",
  "error_message": "This flow was started without a code_challenge but the authentication call includes a code_verifier.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#pkce_did_not_expect_code_verifier"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## pkce\_expected\_code\_verifier

400 **Pkce expected code verifier**

This flow was started using a code\_challenge but the authentication call is missing the corresponding code\_verifier.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "pkce_expected_code_verifier",
  "error_message": "This flow was started using a code_challenge but the authentication call is missing the corresponding code_verifier.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#pkce_expected_code_verifier"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## pkce\_mismatch

400 **Pkce mismatch**

The submitted code\_verifier does not match the code\_challenge sent at the start of the flow.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "pkce_mismatch",
  "error_message": "The submitted code_verifier does not match the code_challenge sent at the start of the flow.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#pkce_mismatch"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## pkce\_required\_for\_idp\_authorization\_flow

400 **Pkce required for idp authorization flow**

Stytch requires native or mobile applications, as well as public clients, to use PKCE for all flows involving redirects. Please supply a code\_challenge with the request.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "pkce_required_for_idp_authorization_flow",
  "error_message": "Stytch requires native or mobile applications, as well as public clients, to use PKCE for all flows involving redirects. Please supply a code_challenge with the request.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#pkce_required_for_idp_authorization_flow"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## pkce\_required\_for\_native\_callback

400 **Pkce required for native callback**

One of the callback URLs supplied is for a native or mobile application. Stytch requires native or mobile applications to use PKCE for all flows involving redirects. Please supply a code\_challenge with the request.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "pkce_required_for_native_callback",
  "error_message": "One of the callback URLs supplied is for a native or mobile application. Stytch requires native or mobile applications to use PKCE for all flows involving redirects. Please supply a code_challenge with the request.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#pkce_required_for_native_callback"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## private\_key\_too\_long

400 **Private key too long**

Private key is too long. Please make sure you have the correct value.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "private_key_too_long",
  "error_message": "Private key is too long. Please make sure you have the correct value.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#private_key_too_long"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## project\_has\_no\_public\_tokens

400 **Project has no public tokens**

Project has no public\_tokens. Please create one in the Dashboard at [https://stytch.com/dashboard/api-keys](https://stytch.com/dashboard/api-keys).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "project_has_no_public_tokens",
  "error_message": "Project has no public_tokens. Please create one in the Dashboard at https://stytch.com/dashboard/api-keys.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#project_has_no_public_tokens"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## public\_connected\_apps\_do\_not\_have\_secrets

400 **Public connected apps do not have secrets**

Public Connected Apps do not have secrets.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "public_connected_apps_do_not_have_secrets",
  "error_message": "Public Connected Apps do not have secrets.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#public_connected_apps_do_not_have_secrets"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## public\_key\_missing

400 **Public key missing**

Public key missing from request

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "public_key_missing",
  "error_message": "Public key missing from request",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#public_key_missing"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## public\_token\_required

400 **Public token required**

public\_token is required.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "public_token_required",
  "error_message": "public_token is required.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#public_token_required"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## query\_params\_do\_not\_match

400 **Query params do not match**

The `magic_link_url` in the request provided query parameters that did not match any redirect URLs set on the Stytch Dashboard for the project. Please visit the Stytch Dashboard [here](https://stytch.com/dashboard/redirect-urls) to make any necessary updates. For more information on why this validation is necessary please read more [here](https://stytch.com/docs/api/url-validation.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "query_params_do_not_match",
  "error_message": "The redirect url in the request provided query parameters that did not match any redirect URLs set on the Stytch dashboard for this project. Please visit https://stytch.com/dashboard/redirect-urls to make any necessary updates. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#query_params_do_not_match"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_action\_duplicate

400 **Rbac action duplicate**

There is a duplicate action in your RBAC policy. Please remove it. Actions are case insensitive.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_action_duplicate",
  "error_message": "There is a duplicate action in your RBAC policy. Please remove it. Actions are case insensitive.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_action_duplicate"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_action\_too\_long

400 **Rbac action too long**

The action name provided was too long. Actions must be less than 100 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_action_too_long",
  "error_message": "The action name provided was too long. Actions must be less than 100 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_action_too_long"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_description\_too\_long

400 **Rbac description too long**

The description provided was too long. Descriptions must be less than 500 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_description_too_long",
  "error_message": "The description provided was too long. Descriptions must be less than 500 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_description_too_long"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_domain\_too\_common

400 **Rbac domain too common**

Common domains such as gmail.com are not allowed in rbac\_email\_implicit\_role\_assignments.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_domain_too_common",
  "error_message": "Common domains such as gmail.com are not allowed in rbac_email_implicit_role_assignments.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_domain_too_common"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_invalid\_domain

400 **Rbac invalid domain**

Please ensure that all domains in rbac\_email\_implicit\_role\_assignments are valid domains.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_invalid_domain",
  "error_message": "Please ensure that all domains in rbac_email_implicit_role_assignments are valid domains.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_invalid_domain"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_permission\_missing\_actions

400 **Rbac permission missing actions**

All permissions must have at least one action.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_permission_missing_actions",
  "error_message": "All permissions must have at least one action.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_permission_missing_actions"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_reserved\_scope

400 **Rbac reserved scope**

There is a reserved scope in your RBAC policy. Please remove it. Reserved scopes include 'openid', 'profile', 'email', 'phone', 'offline\_access', 'full\_access'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_reserved_scope",
  "error_message": "There is a reserved scope in your RBAC policy. Please remove it. Reserved scopes include 'openid', 'profile', 'email', 'phone', 'offline_access', 'full_access'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_reserved_scope"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_resource\_duplicate

400 **Rbac resource duplicate**

There is a duplicate resource ID in your RBAC policy. Please remove it. Resource IDs are case insensitive.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_resource_duplicate",
  "error_message": "There is a duplicate resource ID in your RBAC policy. Please remove it. Resource IDs are case insensitive.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_resource_duplicate"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_resource\_id\_too\_long

400 **Rbac resource id too long**

The resource\_id provided was too long. Resource IDs must be less than 100 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_resource_id_too_long",
  "error_message": "The resource_id provided was too long. Resource IDs must be less than 100 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_resource_id_too_long"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_resource\_missing\_actions

400 **Rbac resource missing actions**

All resources must have at least one action.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_resource_missing_actions",
  "error_message": "All resources must have at least one action.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_resource_missing_actions"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_role\_duplicate

400 **Rbac role duplicate**

There is a duplicate role ID in your RBAC policy. Please remove it. Role IDs are case insensitive.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_role_duplicate",
  "error_message": "There is a duplicate role ID in your RBAC policy. Please remove it. Role IDs are case insensitive.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_role_duplicate"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_role\_id\_too\_long

400 **Rbac role id too long**

The role\_id provided was too long. Role IDs must be less than 100 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_role_id_too_long",
  "error_message": "The role_id provided was too long. Role IDs must be less than 100 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_role_id_too_long"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_role\_missing\_permissions

400 **Rbac role missing permissions**

All roles must have at least one permission.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_role_missing_permissions",
  "error_message": "All roles must have at least one permission.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_role_missing_permissions"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_scope\_duplicate

400 **Rbac scope duplicate**

There is a duplicate scope in your RBAC policy. Please remove it. Scopes are case insensitive.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_scope_duplicate",
  "error_message": "There is a duplicate scope in your RBAC policy. Please remove it. Scopes are case insensitive.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_scope_duplicate"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_scope\_missing\_permissions

400 **Rbac scope missing permissions**

All scopes must have at least one permission.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_scope_missing_permissions",
  "error_message": "All scopes must have at least one permission.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_scope_missing_permissions"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## rbac\_scope\_too\_long

400 **Rbac scope too long**

The scope provided was too long. Scopes must be less than 100 characters.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "rbac_scope_too_long",
  "error_message": "The scope provided was too long. Scopes must be less than 100 characters.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#rbac_scope_too_long"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## recovery\_code\_used\_as\_totp\_code

400 **Recovery code used as totp code**

The totp\_code submitted was invalid. Based on the format of the submitted value it looks like a recovery\_code was entered instead. To authenticate a recovery code please use the /v1/totps/recover endpoint. You can read more here: [https://stytch.com/docs/api/totp-recover](https://stytch.com/docs/api/totp-recover.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "recovery_code_used_as_totp_code",
  "error_message": "The totp_code submitted was invalid. Based on the format of the submitted value it looks like a recovery_code was entered instead. To authenticate a recovery code please use the /v1/totps/recover endpoint. You can read more here: https://stytch.com/docs/api/totp-recover.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#recovery_code_used_as_totp_code"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## redirect\_url\_cannot\_use\_protocol

400 **Redirect url cannot use protocol**

Redirect URLs are not allowed to use this protocol. Please use a different protocol for your native application. If you believe this to be in error, please contact [support@stytch.com](mailto:support@stytch.com) for assistance.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "redirect_url_cannot_use_protocol",
  "error_message": "Redirect URLs are not allowed to use this protocol. Please use a different protocol for your native application. If you believe this to be in error, please contact support@stytch.com for assistance.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#redirect_url_cannot_use_protocol"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## redirect\_url\_must\_use\_https

400 **Redirect url must use https**

Redirect URLs for web applications must use HTTPS unless redirecting to localhost. Please change the protocol to HTTPS.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "redirect_url_must_use_https",
  "error_message": "Redirect URLs for web applications must use HTTPS unless redirecting to localhost. Please change the protocol to HTTPS.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#redirect_url_must_use_https"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## redirect\_url\_with\_query\_param\_placeholder\_cannot\_be\_default

400 **Redirect url with query param placeholder cannot be default**

Redirect URLs with query param placeholders ({}) cannot be set as a default redirect URL.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "redirect_url_with_query_param_placeholder_cannot_be_default",
  "error_message": "Redirect URLs with query param placeholders ({}) cannot be set as a default redirect URL.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#redirect_url_with_query_param_placeholder_cannot_be_default"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## redirect\_url\_with\_wildcard\_cannot\_be\_default

400 **Redirect url with wildcard cannot be default**

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "redirect_url_with_wildcard_cannot_be_default",
  "error_message": "",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#redirect_url_with_wildcard_cannot_be_default"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## required\_custom\_email\_domain

400 **Required custom email domain**

a custom email domain is required for custom html emails.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "required_custom_email_domain",
  "error_message": "a custom email domain is required for custom html emails.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#required_custom_email_domain"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## reserved\_claims\_in\_custom\_claims

400 **Reserved claims in custom claims**

Cannot use a reserved claim as one of your custom claims.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "reserved_claims_in_custom_claims",
  "error_message": "Cannot use a reserved claim as one of your custom claims.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#reserved_claims_in_custom_claims"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## reset\_password

400 **Reset password**

User must reset their password through the [password reset endpoint](https://stytch.com/docs/api/password-email-reset-start.md). This occurs if a user's credentials appeared in the HaveIBeenPwned dataset or the user used email based authentication (e.g. Magic Links, Google OAuth) without previously verified their email address. The password reset ensures that the user is the legitimate owner of the mail address. This stops malicious actors from abusing the compromised credentials or attempting to pre-hijack account by setting a password for an email.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "reset_password",
  "error_message": "user must reset their password",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#reset_password"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## retired\_email\_missing\_email\_identifiers

400 **Retired email missing email identifiers**

You must provide one of email\_id or email\_address in the request.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "retired_email_missing_email_identifiers",
  "error_message": "You must provide one of email_id or email_address in the request.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#retired_email_missing_email_identifiers"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## scim\_connection\_not\_rotating\_token

400 **Scim connection not rotating token**

Bearer token rotation has not been started for this connection. Please start a token rotation flow before calling this endpoint.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "scim_connection_not_rotating_token",
  "error_message": "Bearer token rotation has not been started for this connection. Please start a token rotation flow before calling this endpoint.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#scim_connection_not_rotating_token"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## scrypt\_key\_length\_mismatch

400 **Scrypt key length mismatch**

The key\_length value doesn't match the length of the provided hash.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "scrypt_key_length_mismatch",
  "error_message": "The key_length value doesn't match the length of the provided hash.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#scrypt_key_length_mismatch"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## search\_invalid\_status\_filter

400 **Search invalid status filter**

status should be set to 'active', 'pending', 'invited', or 'deleted'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "search_invalid_status_filter",
  "error_message": "status should be set to 'active', 'pending', 'invited', or 'deleted'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#search_invalid_status_filter"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## search\_timeout

400 **Search timeout**

Search timed out. Please try using a more specific search query

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "search_timeout",
  "error_message": "Search timed out. Please try using a more specific search query",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#search_timeout"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## session\_enforced\_factor\_matching\_session\_required

400 **Session enforced factor matching session required**

This action requires either a session\_token or session\_jwt of the user this authentication factor was attached to.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "session_enforced_factor_matching_session_required",
  "error_message": "This action requires either a session_token or session_jwt of the user this authentication factor was attached to.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#session_enforced_factor_matching_session_required"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## session\_must\_have\_at\_least\_one\_active\_factor

400 **Session must have at least one active factor**

The provided session has no active factors and has been revoked.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "session_must_have_at_least_one_active_factor",
  "error_message": "The provided session has no active factors and has been revoked.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#session_must_have_at_least_one_active_factor"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## session\_not\_mutable

400 **Session not mutable**

Attempting to extend or add a factor to an immutable session. The session is considered immutable due to it containing an immutable auth factor.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "session_not_mutable",
  "error_message": "Attempting to extend or add a factor to an immutable session. The session is considered immutable due to it containing an immutable auth factor.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#session_not_mutable"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## session\_on\_code\_does\_not\_match\_session\_passed\_in

400 **Session on code does not match session passed in**

The session passed in on the /send request does not match the one passed in on this request

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "session_on_code_does_not_match_session_passed_in",
  "error_message": "The session passed in on the /send request does not match the one passed in on this request",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#session_on_code_does_not_match_session_passed_in"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## signature\_is\_incorrect\_size

400 **Signature is incorrect size**

The signature is the incorrect size in bytes.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "signature_is_incorrect_size",
  "error_message": "The signature is the incorrect size in bytes.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#signature_is_incorrect_size"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## signature\_missing

400 **Signature missing**

Signature missing from request

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "signature_missing",
  "error_message": "Signature missing from request",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#signature_missing"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## siwe\_message\_expired

400 **Siwe message expired**

The SIWE message is expired.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "siwe_message_expired",
  "error_message": "The SIWE message is expired.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#siwe_message_expired"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## siwe\_message\_not\_valid\_yet

400 **Siwe message not valid yet**

The SIWE message is not valid yet.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "siwe_message_not_valid_yet",
  "error_message": "The SIWE message is not valid yet.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#siwe_message_not_valid_yet"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## stytch\_claims\_in\_custom\_claims

400 **Stytch claims in custom claims**

Cannot use [https://stytch.com/session](https://stytch.com/session) as a custom claim.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "stytch_claims_in_custom_claims",
  "error_message": "Cannot use https://stytch.com/session as a custom claim.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#stytch_claims_in_custom_claims"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## test\_id\_used\_in\_live\_environment

400 **Test id used in live environment**

Invalid argument sent to Live environment. Looks like you supplied a Test identifier inside a request for the Live environment (api.stytch.com). Try sending the request to test.stytch.com instead or using a different identifier.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "test_id_used_in_live_environment",
  "error_message": "Invalid argument sent to Live environment. Looks like you supplied a Test identifier inside a request for the Live environment (api.stytch.com). Try sending the request to test.stytch.com instead or using a different identifier.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#test_id_used_in_live_environment"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## third\_party\_clients\_cannot\_use\_full\_access

400 **Third party clients cannot use full access**

The Full Access scope can only be granted to First Party clients.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "third_party_clients_cannot_use_full_access",
  "error_message": "The Full Access scope can only be granted to First Party clients.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#third_party_clients_cannot_use_full_access"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## third\_party\_clients\_require\_consent\_for\_offline\_access

400 **Third party clients require consent for offline access**

Offline Access consent can only be bypassed by First Party clients.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "third_party_clients_require_consent_for_offline_access",
  "error_message": "Offline Access consent can only be bypassed by First Party clients.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#third_party_clients_require_consent_for_offline_access"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_biometric\_registrations\_for\_user

400 **Too many biometric registrations for user**

The provided user\_id has reached the maximum allowed mobile biometric registrations. The maximum is 25.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_biometric_registrations_for_user",
  "error_message": "The provided user_id has reached the maximum allowed mobile biometric registrations. The maximum is 25.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_biometric_registrations_for_user"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_connected\_apps

400 **Too many connected apps**

Too many clients have been created for this project

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_connected_apps",
  "error_message": "Too many clients have been created for this project",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_connected_apps"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_email\_templates

400 **Too many email templates**

You have reached the maximum number of email templates for this project. Please delete an email template before creating a new one.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_email_templates",
  "error_message": "You have reached the maximum number of email templates for this project. Please delete an email template before creating a new one.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_email_templates"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_m2m\_client\_scopes

400 **Too many m2m client scopes**

Too many scopes were attached to the client. A maximum of 1000 scopes is allowed.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_m2m_client_scopes",
  "error_message": "Too many scopes were attached to the client. A maximum of 1000 scopes is allowed.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_m2m_client_scopes"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_pem\_files\_for\_trusted\_token\_profile

400 **Too many pem files for trusted token profile**

This trusted token profile has too many PEM files. Please remove one to add more.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_pem_files_for_trusted_token_profile",
  "error_message": "This trusted token profile has too many PEM files. Please remove one to add more.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_pem_files_for_trusted_token_profile"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_projects

400 **Too many projects**

You have reached the maximum number of projects for your workspace. Please delete a project before creating a new one.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_projects",
  "error_message": "You have reached the maximum number of projects for your workspace. Please delete a project before creating a new one.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_projects"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_public\_tokens

400 **Too many public tokens**

You have reached the maximum number of public tokens for this project. Please delete a public token before creating a new one.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_public_tokens",
  "error_message": "You have reached the maximum number of public tokens for this project. Please delete a public token before creating a new one.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_public_tokens"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_redirect\_urls

400 **Too many redirect urls**

You have reached the maximum number of redirect URLs for this project. Please delete a redirect URL before creating a new one.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_redirect_urls",
  "error_message": "You have reached the maximum number of redirect URLs for this project. Please delete a redirect URL before creating a new one.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_redirect_urls"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_roles

400 **Too many roles**

RBAC policies contain too many roles.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_roles",
  "error_message": "RBAC policies contain too many roles.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_roles"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_secrets

400 **Too many secrets**

You have reached the maximum number of secrets for this project. Please delete a secret before creating a new one.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_secrets",
  "error_message": "You have reached the maximum number of secrets for this project. Please delete a secret before creating a new one.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_secrets"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_session\_arguments

400 **Too many session arguments**

Please include at most one of session\_token, session\_jwt, or intermediate\_session\_token in an authenticate request, not multiple.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_session_arguments",
  "error_message": "Please include at most one of session_token, session_jwt, or intermediate_session_token in an authenticate request, not multiple.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_session_arguments"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_session\_revoke\_arguments

400 **Too many session revoke arguments**

Please ensure only one of the following is passed: session\_id, session\_token, session\_jwt, or a member\_id (if the project is a B2B project). Exactly one of those values is required to revoke a session.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_session_revoke_arguments",
  "error_message": "Please ensure only one of the following is passed: session_id, session_token, session_jwt, or a member_id (if the project is a B2B project). Exactly one of those values is required to revoke a session.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_session_revoke_arguments"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_sms\_templates

400 **Too many sms templates**

The current project has already hit the maximum of 5 SMS templates. Please delete one in order to create another.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_sms_templates",
  "error_message": "The current project has already hit the maximum of 5 SMS templates. Please delete one in order to create another.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_sms_templates"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_trusted\_token\_profiles\_for\_project

400 **Too many trusted token profiles for project**

This project has too many trusted token profiles. Please remove one to add more.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_trusted_token_profiles_for_project",
  "error_message": "This project has too many trusted token profiles. Please remove one to add more.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_trusted_token_profiles_for_project"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_unverified\_factors

400 **Too many unverified factors**

We were unable to create a new auth factor. This user already has too many unverified factors.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_unverified_factors",
  "error_message": "We were unable to create a new auth factor. This user already has too many unverified factors.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_unverified_factors"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_user\_registrations\_for\_domain

400 **Too many user registrations for domain**

The provided user\_id has reached the maximum allowed WebAuthn registrations for the provided domain. The maximum is 25.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_user_registrations_for_domain",
  "error_message": "The provided user_id has reached the maximum allowed WebAuthn registrations for the provided domain. The maximum is 25.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_user_registrations_for_domain"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## too\_many\_user\_selection\_arguments

400 **Too many user selection arguments**

Please include exactly one of user\_id, session\_token, or session\_jwt. This request contained more than one of those fields.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_user_selection_arguments",
  "error_message": "Please include exactly one of user_id, session_token, or session_jwt. This request contained more than one of those fields.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#too_many_user_selection_arguments"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## totp\_code\_already\_authenticated

400 **Totp code already authenticated**

This TOTP code has already been authenticated. Please attempt with the next generated code.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "totp_code_already_authenticated",
  "error_message": "This TOTP code has already been authenticated. Please attempt with the next generated code.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#totp_code_already_authenticated"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## totp\_code\_used\_as\_recovery\_code

400 **Totp code used as recovery code**

The recovery\_code submitted was invalid. Based on the format of the submitted value it looks like a totp\_code was entered instead. To authenticate a totp code please use the /v1/totps/authenticate endpoint. You can read more here: [https://stytch.com/docs/api/totp-authenticate](https://stytch.com/docs/api/totp-authenticate.md).

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "totp_code_used_as_recovery_code",
  "error_message": "The recovery_code submitted was invalid. Based on the format of the submitted value it looks like a totp_code was entered instead. To authenticate a totp code please use the /v1/totps/authenticate endpoint. You can read more here: https://stytch.com/docs/api/totp-authenticate.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#totp_code_used_as_recovery_code"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## trusted\_token\_profile\_cannot\_have\_multiple\_external\_ids

400 **Trusted token profile cannot have multiple external ids**

Trusted token profile attribute mapping cannot multiple external ID attribute mappings.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "trusted_token_profile_cannot_have_multiple_external_ids",
  "error_message": "Trusted token profile attribute mapping cannot multiple external ID attribute mappings.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#trusted_token_profile_cannot_have_multiple_external_ids"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## trusted\_token\_profile\_incorrect\_external\_id\_mapping

400 **Trusted token profile incorrect external id mapping**

Trusted token profile has the wrong external ID attribute mapping for this project vertical.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "trusted_token_profile_incorrect_external_id_mapping",
  "error_message": "Trusted token profile has the wrong external ID attribute mapping for this project vertical.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#trusted_token_profile_incorrect_external_id_mapping"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## trusted\_token\_profile\_invalid\_request

400 **Trusted token profile invalid request**

Trusted token profile is missing a required field.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "trusted_token_profile_invalid_request",
  "error_message": "Trusted token profile is missing a required field.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#trusted_token_profile_invalid_request"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unable\_to\_authenticate\_crypto\_wallet

400 **Unable to authenticate crypto wallet**

The crypto wallet could not be authenticated.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unable_to_authenticate_crypto_wallet",
  "error_message": "The crypto wallet could not be authenticated.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unable_to_authenticate_crypto_wallet"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unable\_to\_authorize\_oauth\_provider

400 **Unable to authorize oauth provider**

Unable to authorize request to this OAuth provider. Please check the client ID and secret of your OAuth configuration.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unable_to_authorize_oauth_provider",
  "error_message": "Unable to authorize request to this OAuth provider. Please check the client ID and secret of your OAuth configuration.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unable_to_authorize_oauth_provider"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unable\_to\_delete\_email\_suppression

400 **Unable to delete email suppression**

The messaging server returned a non-positive response while trying to delete this suppression.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unable_to_delete_email_suppression",
  "error_message": "The messaging server returned a non-positive response while trying to delete this suppression.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unable_to_delete_email_suppression"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unable\_to\_delete\_last\_public\_token

400 **Unable to delete last public token**

Cannot delete the last public\_token for a project. Please create another public\_token before deleting this one.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unable_to_delete_last_public_token",
  "error_message": "Cannot delete the last public_token for a project. Please create another public_token before deleting this one.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unable_to_delete_last_public_token"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unable\_to\_parse\_session\_jwt

400 **Unable to parse session jwt**

Unable to parse session JWT

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unable_to_parse_session_jwt",
  "error_message": "Unable to parse session JWT",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unable_to_parse_session_jwt"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unable\_to\_register\_biometric\_registration

400 **Unable to register biometric registration**

The Biometric registration could not be registered.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unable_to_register_biometric_registration",
  "error_message": "The Biometric registration could not be registered.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unable_to_register_biometric_registration"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unable\_to\_register\_webauthn\_registration

400 **Unable to register webauthn registration**

The WebAuthn registration could not be registered.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unable_to_register_webauthn_registration",
  "error_message": "The WebAuthn registration could not be registered.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unable_to_register_webauthn_registration"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unable\_to\_represent\_custom\_claims\_json

400 **Unable to represent custom claims json**

Unable to represent custom claims as a JSON map.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unable_to_represent_custom_claims_json",
  "error_message": "Unable to represent custom claims as a JSON map.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unable_to_represent_custom_claims_json"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unauthorized\_client

400 **Unauthorized client**

Please check that the `client_id` and `client_secret` are correct, and that the client exists and is active.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unauthorized_client",
  "error_message": "Please check that the `client_id` and `client_secret` are correct, and that the client exists and is active.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unauthorized_client"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unsubscribed\_phone\_number

400 **Unsubscribed phone number**

User has unsubscribed. User must resubscribe by texting 'START' before messages can be sent.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unsubscribed_phone_number",
  "error_message": "User has unsubscribed. User must resubscribe by texting 'START' before messages can be sent.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unsubscribed_phone_number"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unsupported\_grant\_type

400 **Unsupported grant type**

Unsupported grant type. Note that the `grant_type` parameter must be equal to `client_credentials` in order for the request to succeed.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unsupported_grant_type",
  "error_message": "Unsupported grant type. Note that the `grant_type` parameter must be equal to `client_credentials` in order for the request to succeed.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#unsupported_grant_type"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## update\_user\_auth\_method\_not\_allowed

400 **Update user auth method not allowed**

Update user no longer accepts phone\_numbers, emails, or crypto\_wallets. To add these authentication factors to an existing user, use their respective Send endpoints.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "update_user_auth_method_not_allowed",
  "error_message": "Update user no longer accepts phone_numbers, emails, or crypto_wallets. To add these authentication factors to an existing user, use their respective Send endpoints.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#update_user_auth_method_not_allowed"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_already\_invited

400 **User already invited**

The user has already been invited.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_already_invited",
  "error_message": "The user has already been invited.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_already_invited"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_impersonation\_not\_allowed

400 **User impersonation not allowed**

User cannot be impersonated

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_impersonation_not_allowed",
  "error_message": "User cannot be impersonated",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_impersonation_not_allowed"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_cannot\_mix\_internal\_and\_external\_user\_ids

400 **User search cannot mix internal and external user ids**

Cannot mix internal and external user ids for this filter

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_cannot_mix_internal_and_external_user_ids",
  "error_message": "Cannot mix internal and external user ids for this filter",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_cannot_mix_internal_and_external_user_ids"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_email\_address\_fuzzy\_too\_short

400 **User search email address fuzzy too short**

Expected email\_address\_fuzzy to have a length of at least 3 but it was too short. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_email_address_fuzzy_too_short",
  "error_message": "Expected email_address_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_email_address_fuzzy_too_short"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_expected\_array\_of\_string

400 **User search expected array of string**

Expected user search filter\_value to contain an array of strings. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_expected_array_of_string",
  "error_message": "Expected user search filter_value to contain an array of strings. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_expected_array_of_string"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_expected\_bool

400 **User search expected bool**

Expected user search filter\_value to contain a boolean. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_expected_bool",
  "error_message": "Expected user search filter_value to contain a boolean. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_expected_bool"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_expected\_object

400 **User search expected object**

Expected user search filter\_value to contain an object. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_expected_object",
  "error_message": "Expected user search filter_value to contain an object. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_expected_object"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_expected\_string

400 **User search expected string**

Expected user search filter\_value to contain a string. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_expected_string",
  "error_message": "Expected user search filter_value to contain a string. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_expected_string"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_expected\_timestamp

400 **User search expected timestamp**

Expected user search filter\_value to contain a string containing a RFC3339 formatted timestamp. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_expected_timestamp",
  "error_message": "Expected user search filter_value to contain a string containing a RFC3339 formatted timestamp. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_expected_timestamp"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_filter\_name\_must\_be\_string

400 **User search filter name must be string**

Expected user search operand filter\_name to be a string. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_filter_name_must_be_string",
  "error_message": "Expected user search operand filter_name to be a string. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_filter_name_must_be_string"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_filter\_name\_not\_recognized

400 **User search filter name not recognized**

The user search operand filter\_name was not recognized. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_filter_name_not_recognized",
  "error_message": "The user search operand filter_name was not recognized. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_filter_name_not_recognized"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_full\_name\_fuzzy\_too\_short

400 **User search full name fuzzy too short**

Expected full\_name\_fuzzy to have a length of at least 3 but it was too short. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_full_name_fuzzy_too_short",
  "error_message": "Expected full_name_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_full_name_fuzzy_too_short"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_invalid\_cursor

400 **User search invalid cursor**

The submitted cursor is not valid. Please contact [support@stytch.com](mailto:support@stytch.com) for assistance.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_invalid_cursor",
  "error_message": "The submitted cursor is not valid. Please contact support@stytch.com for assistance.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_invalid_cursor"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_invalid\_limit

400 **User search invalid limit**

limit should be in the range 1 to 1000 inclusive.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_invalid_limit",
  "error_message": "limit should be in the range 1 to 1000 inclusive.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_invalid_limit"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_invalid\_oauth\_provider\_filter

400 **User search invalid oauth provider filter**

provider should be set to 'Amazon', 'Apple', 'Bitbucket', 'Coinbase', 'Discord', 'Facebook', 'Figma', 'Github', 'GitLab', 'Google', 'Instagram', 'LinkedIn', 'Microsoft', 'Salesforce', 'Shopify', 'Slack', 'Snapchat', 'Spotify', 'Steam', 'TikTok', 'Twitch', 'Twitter', or 'Yahoo'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_invalid_oauth_provider_filter",
  "error_message": "provider should be set to 'Amazon', 'Apple', 'Bitbucket', 'Coinbase', 'Discord', 'Facebook', 'Figma', 'Github', 'GitLab', 'Google', 'Instagram', 'LinkedIn', 'Microsoft', 'Salesforce', 'Shopify', 'Slack', 'Snapchat', 'Spotify', 'Steam', 'TikTok', 'Twitch', 'Twitter', or 'Yahoo'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_invalid_oauth_provider_filter"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_invalid\_operator

400 **User search invalid operator**

operator should be set to 'AND' or 'OR'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_invalid_operator",
  "error_message": "operator should be set to 'AND' or 'OR'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_invalid_operator"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_invalid\_status\_filter

400 **User search invalid status filter**

status should be set to 'active' or 'pending'.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_invalid_status_filter",
  "error_message": "status should be set to 'active' or 'pending'.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_invalid_status_filter"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_maximum\_filter\_value\_count\_exceeded

400 **User search maximum filter value count exceeded**

The number of filter values passed in the search request exceeded our maximum of 1000. Please try again with a lower number.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_maximum_filter_value_count_exceeded",
  "error_message": "The number of filter values passed in the search request exceeded our maximum of 1000. Please try again with a lower number.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_maximum_filter_value_count_exceeded"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_biometric\_registration\_ids

400 **User search missing biometric registration ids**

Expected biometric\_registration\_ids to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_biometric_registration_ids",
  "error_message": "Expected biometric_registration_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_biometric_registration_ids"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_biometric\_verified

400 **User search missing biometric verified**

Expected field `biometric_registration_ids` to be passed in the search request but it was not. Please see [search users endpoint](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_biometric_verified",
  "error_message": "Expected biometric_verified to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_biometric_verified"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_created\_at\_greater\_than

400 **User search missing created at greater than**

Expected created\_at\_greater\_than to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_created_at_greater_than",
  "error_message": "Expected created_at_greater_than to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_created_at_greater_than"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_created\_at\_less\_than

400 **User search missing created at less than**

Expected created\_at\_less\_than to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_created_at_less_than",
  "error_message": "Expected created_at_less_than to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_created_at_less_than"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_crypto\_wallet\_address

400 **User search missing crypto wallet address**

Expected crypto\_wallet\_address to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_crypto_wallet_address",
  "error_message": "Expected crypto_wallet_address to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_crypto_wallet_address"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_crypto\_wallet\_id

400 **User search missing crypto wallet id**

Expected crypto\_wallet\_id to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_crypto_wallet_id",
  "error_message": "Expected crypto_wallet_id to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_crypto_wallet_id"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_crypto\_wallet\_verified

400 **User search missing crypto wallet verified**

Expected crypto\_wallet\_verified to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_crypto_wallet_verified",
  "error_message": "Expected crypto_wallet_verified to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_crypto_wallet_verified"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_email\_address\_fuzzy

400 **User search missing email address fuzzy**

Expected email\_address\_fuzzy to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_email_address_fuzzy",
  "error_message": "Expected email_address_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_email_address_fuzzy"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_email\_addresses

400 **User search missing email addresses**

Expected email\_addresses to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_email_addresses",
  "error_message": "Expected email_addresses to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_email_addresses"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_email\_domain

400 **User search missing email domain**

Expected email\_domain to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_email_domain",
  "error_message": "Expected email_domain to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_email_domain"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_email\_ids

400 **User search missing email ids**

Expected email\_ids to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_email_ids",
  "error_message": "Expected email_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_email_ids"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_email\_verified

400 **User search missing email verified**

Expected email\_verified to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_email_verified",
  "error_message": "Expected email_verified to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_email_verified"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_filter\_name

400 **User search missing filter name**

Expected user search operand to contain a filter\_name key. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_filter_name",
  "error_message": "Expected user search operand to contain a filter_name key. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_filter_name"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_filter\_value

400 **User search missing filter value**

Expected user search operand to contain a filter\_value key. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_filter_value",
  "error_message": "Expected user search operand to contain a filter_value key. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_filter_value"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_full\_name\_fuzzy

400 **User search missing full name fuzzy**

Expected full\_name\_fuzzy to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_full_name_fuzzy",
  "error_message": "Expected full_name_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_full_name_fuzzy"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_greater\_than

400 **User search missing greater than**

Expected user search filter\_value to contain greater\_than key. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_greater_than",
  "error_message": "Expected user search filter_value to contain greater_than key. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_greater_than"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_less\_than

400 **User search missing less than**

Expected user search filter\_value to contain less\_than key. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_less_than",
  "error_message": "Expected user search filter_value to contain less_than key. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_less_than"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_oauth\_providers

400 **User search missing oauth providers**

Expected oauth\_providers to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_oauth_providers",
  "error_message": "Expected oauth_providers to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_oauth_providers"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_password

400 **User search missing password**

Expected field `password_exist` to be passed in the search request but it was not. Please see [search users endpoint](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_password",
  "error_message": "Expected password to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_password"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_phone\_ids

400 **User search missing phone ids**

Expected phone\_ids to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_phone_ids",
  "error_message": "Expected phone_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_phone_ids"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_phone\_number\_fuzzy

400 **User search missing phone number fuzzy**

Expected phone\_number\_fuzzy to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_phone_number_fuzzy",
  "error_message": "Expected phone_number_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_phone_number_fuzzy"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_phone\_numbers

400 **User search missing phone numbers**

Expected phone\_numbers to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_phone_numbers",
  "error_message": "Expected phone_numbers to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_phone_numbers"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_phone\_verified

400 **User search missing phone verified**

Expected phone\_verified to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_phone_verified",
  "error_message": "Expected phone_verified to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_phone_verified"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_status

400 **User search missing status**

Expected status to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_status",
  "error_message": "Expected status to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_status"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_totp\_ids

400 **User search missing totp ids**

Expected totp\_ids to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_totp_ids",
  "error_message": "Expected totp_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_totp_ids"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_totp\_verified

400 **User search missing totp verified**

Expected totp\_verified to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_totp_verified",
  "error_message": "Expected totp_verified to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_totp_verified"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_user\_ids

400 **User search missing user ids**

Expected user\_ids to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_user_ids",
  "error_message": "Expected user_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_user_ids"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_webauthn\_registration\_ids

400 **User search missing webauthn registration ids**

Expected webauthn\_registration\_ids to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_webauthn_registration_ids",
  "error_message": "Expected webauthn_registration_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_webauthn_registration_ids"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_missing\_webauthn\_verified

400 **User search missing webauthn verified**

Expected webauthn\_verified to be passed in the search request but it was not. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_missing_webauthn_verified",
  "error_message": "Expected webauthn_verified to be passed in the search request but it was not. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_missing_webauthn_verified"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## user\_search\_phone\_number\_fuzzy\_too\_short

400 **User search phone number fuzzy too short**

Expected phone\_number\_fuzzy to have a length of at least 3 but it was too short. Please see [https://stytch.com/docs/api/search-users](https://stytch.com/docs/api/search-users.md) for request schema details and examples.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_search_phone_number_fuzzy_too_short",
  "error_message": "Expected phone_number_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/api/search-users for request schema details and examples.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#user_search_phone_number_fuzzy_too_short"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## weak\_password

400 **Weak password**

Password doesn't meet the API's strength requirements. A password's strength could be tested with the [password strength check endpoint](https://stytch.com/docs/api/password-strength-check.md).

Common Causes

<ul>
  <li>The password does not meet the complexity requirements established by [zxcvbn](https://github.com/dropbox/zxcvbn) or [luds](https://stytch.com/blog/strong-passwords/).</li>
</ul>

Troubleshooting

<ul>
  <li>Use the [password strength check endpoint](https://stytch.com/docs/api/password-strength-check.md) endpoint to get actionable feedback on improving the strength of the password string. This feedback can be passed on to the end user via your UI.</li>
</ul>

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "weak_password",
  "error_message": "password doesn't meet our strength requirements.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#weak_password"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## wrong\_stack\_live

400 **Wrong stack live**

Wrong endpoint, try hitting test.stytch.com instead.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "wrong_stack_live",
  "error_message": "Wrong endpoint, try hitting test.stytch.com instead.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#wrong_stack_live"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## wrong\_stack\_test

400 **Wrong stack test**

Wrong endpoint, try hitting api.stytch.com instead.

```js theme={null}
{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "wrong_stack_test",
  "error_message": "Wrong endpoint, try hitting api.stytch.com instead.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/400#wrong_stack_test"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***
