400 errors

active_totp_exists

400Bad request

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

{
  "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/b2b/api/errors/400#active_totp_exists"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

allowed_auth_methods_required_for_restricted

400Bad request

Allowed auth methods must be set for 'RESTRICTED' auth methods

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "allowed_auth_methods_required_for_restricted",
  "error_message": "Allowed auth methods must be set for 'RESTRICTED' auth methods",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#allowed_auth_methods_required_for_restricted"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

apple_oauth_config_not_found

400Bad request

The Apple OAuth config was not found.

Error

{
  "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/b2b/api/errors/400#apple_oauth_config_not_found"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

argon_2_key_length_mismatch

400Bad request

The key_length value doesn't match the length of the provided hash.

Error

{
  "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/b2b/api/errors/400#argon_2_key_length_mismatch"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

bad_request

400Bad request

The submitted request is invalid.

Error

{
  "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/b2b/api/errors/400#bad_request"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

billing_not_verified

400Bad request

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. Your first 5,000 monthly active users are free every month, but collecting this information helps us prevent abuse of the platform. Please go to billing settings to provide billing information.

Error

{
  "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. Your first 5,000 monthly active users are free every month, but collecting this information helps us prevent abuse of the platform. Please go to https://stytch.com/settings/billing to provide billing information.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#billing_not_verified"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

billing_not_verified_for_email

400Bad request

You can only send magic links to emails matching your project's domain until credit card details are added to your account. Once your billing information is verified, emails can be sent to anyone. Your first 5,000 monthly active users are free every month, but collecting this information helps us prevent abuse of the platform. Please go to billing settings to provide billing information.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "billing_not_verified_for_email",
  "error_message": "You can only send magic links to emails matching your project's domain until credit card details are added to your account. Once your billing information is verified, emails can be sent to anyone. Your first 5,000 monthly active users are free every month, but collecting this information helps us prevent abuse of the platform. Please see https://stytch.com/settings/billing to provide billing information.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#billing_not_verified_for_email"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

breached_password

400Bad request

Common causes

  • The password was previously leaked, and the password now appears in the HaveIBeenPwned dataset.

Troubleshooting steps

  • Use the password strength check endpoint 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.

Error

{
  "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/b2b/api/errors/400#breached_password"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

cannot_assign_default_rbac_role_id

400Bad request

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

Error

{
  "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/b2b/api/errors/400#cannot_assign_default_rbac_role_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

cannot_delete_default_sso_connection

400Bad request

Please update the default SSO connection setting for this organization to a different SSO connection before deleting.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_delete_default_sso_connection",
  "error_message": "Please update the default SSO connection setting for this organization to a different SSO connection before deleting.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#cannot_delete_default_sso_connection"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

cannot_delete_email

400Bad request

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

Error

{
  "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/b2b/api/errors/400#cannot_delete_email"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

cannot_delete_last_primary_factor

400Bad request

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

Error

{
  "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/b2b/api/errors/400#cannot_delete_last_primary_factor"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

cannot_delete_last_sso_verification_key

400Bad request

Cannot delete the last verification certificate for a connection. Please pass in another one before deleting this one.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "cannot_delete_last_sso_verification_key",
  "error_message": "Cannot delete the last verification certificate for a connection. Please pass in another one before deleting this one.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#cannot_delete_last_sso_verification_key"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

cannot_reset_password_with_existing_password

400Bad request

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

{
  "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/b2b/api/errors/400#cannot_reset_password_with_existing_password"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

cannot_use_webauthn_with_pending_user

400Bad request

WebAuthn can only be used with active users. To learn more about WebAuthn and user states please see here and here.

Error

{
  "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-overview and https://stytch.com/docs/api/user-states.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#cannot_use_webauthn_with_pending_user"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

client_secret_too_long

400Bad request

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

Error

{
  "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/b2b/api/errors/400#client_secret_too_long"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

custom_claims_too_large

400Bad request

Custom claims are too large.

Error

{
  "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/b2b/api/errors/400#custom_claims_too_large"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

deprecated_endpoint

400Bad request

This endpoint has been deprecated

Error

{
  "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/b2b/api/errors/400#deprecated_endpoint"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_email

400Bad request

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

Error

{
  "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/b2b/api/errors/400#duplicate_email"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_email_for_user

400Bad request

The specified email is already tied to this user.

Error

{
  "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/b2b/api/errors/400#duplicate_email_for_user"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_email_template_vanity_id

400Bad request

Email template vanity ID already exists.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_email_template_vanity_id",
  "error_message": "Email template vanity ID already exists.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#duplicate_email_template_vanity_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_m2m_client_id

400Bad request

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

Error

{
  "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/b2b/api/errors/400#duplicate_m2m_client_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_member_email

400Bad request

This email already exists for this organization.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_member_email",
  "error_message": "This email already exists for this organization.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#duplicate_member_email"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_member_phone_number

400Bad request

A member with the specified phone number already exists for this organization.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_member_phone_number",
  "error_message": "A member with the specified phone number already exists for this organization.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#duplicate_member_phone_number"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_member_phone_number_for_member

400Bad request

A different phone number is already tied to this member.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_member_phone_number_for_member",
  "error_message": "A different phone number is already tied to this member.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#duplicate_member_phone_number_for_member"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_organization

400Bad request

An organization with the specified name already exists.

Error

{
  "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/b2b/api/errors/400#duplicate_organization"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_organization_user

400Bad request

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

Error

{
  "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/b2b/api/errors/400#duplicate_organization_user"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_project_user

400Bad request

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

Error

{
  "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/b2b/api/errors/400#duplicate_project_user"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_redirect_url

400Bad request

A redirect URL already exists for the provided URL.

Error

{
  "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/b2b/api/errors/400#duplicate_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_saml_connection

400Bad request

The SAML connection already exists for this organization and IDP.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_saml_connection",
  "error_message": "The SAML connection already exists for this organization and IDP.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#duplicate_saml_connection"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_saml_response

400Bad request

This SAML response has already been seen. Please attempt to log in again.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "duplicate_saml_response",
  "error_message": "This SAML response has already been seen. Please attempt to log in again.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#duplicate_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

duplicate_webauthn_registration

400Bad request

The supplied credential ID already exists for this project.

Error

{
  "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/b2b/api/errors/400#duplicate_webauthn_registration"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

email_jit_provisioning_not_allowed

400Bad request

Email JIT provisioning is not allowed for this organization.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "email_jit_provisioning_not_allowed",
  "error_message": "Email JIT provisioning is not allowed for this organization.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#email_jit_provisioning_not_allowed"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

expired_oauth_response

400Bad request

Too much time has passed since the login flow started. Please attempt to log in again.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "expired_oauth_response",
  "error_message": "Too much time has passed since the login flow started. Please attempt to log in again.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#expired_oauth_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

expired_oidc_response

400Bad request

Too much time has passed since the login flow started. Please attempt to log in again.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "expired_oidc_response",
  "error_message": "Too much time has passed since the login flow started. Please attempt to log in again.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#expired_oidc_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

expired_saml_response

400Bad request

Too much time has passed since the login flow started. Please attempt to log in again.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "expired_saml_response",
  "error_message": "Too much time has passed since the login flow started. Please attempt to log in again.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#expired_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

expired_totp

400Bad request

The TOTP for this user has expired without being verified.

Error

{
  "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/b2b/api/errors/400#expired_totp"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

failed_saml_response

400Bad request

The user failed to log in to their IDP, or the IDP failed to authenticate the application.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "failed_saml_response",
  "error_message": "The user failed to log in to their IDP, or the IDP failed to authenticate the application.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#failed_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

id_token_expired

400Bad request

ID token is expired.

Error

{
  "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/b2b/api/errors/400#id_token_expired"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

id_token_incorrect_audience

400Bad request

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

Error

{
  "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/b2b/api/errors/400#id_token_incorrect_audience"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

id_token_invalid

400Bad request

ID token is invalid.

Error

{
  "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/b2b/api/errors/400#id_token_invalid"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

id_token_nonce_invalid

400Bad request

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

Error

{
  "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/b2b/api/errors/400#id_token_nonce_invalid"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

import_from_external_invalid_userinfo

400Bad request

An error was encountered when querying the external provider's userinfo endpoint. Make sure the UserInfo endpoint is correctly configured, and that the access token is correct.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "import_from_external_invalid_userinfo",
  "error_message": "An error was encountered when querying the external provider's userinfo endpoint. Make sure the UserInfo endpoint is correctly configured, and that the access token is correct.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#import_from_external_invalid_userinfo"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

inactive_email

400Bad request

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.

Error

{
  "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.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#inactive_email"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

indeterminate_sso_connection_for_organization

400Bad request

The organization owns more than one SSO Connection. Please specify the specific connection to be used.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "indeterminate_sso_connection_for_organization",
  "error_message": "The organization owns more than one SSO Connection. Please specify the specific connection to be used.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#indeterminate_sso_connection_for_organization"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

insecure_m2m_client_secret

400Bad request

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

Error

{
  "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/b2b/api/errors/400#insecure_m2m_client_secret"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_append_salt

400Bad request

The append_salt value is not supported because it's too long.

Error

{
  "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/b2b/api/errors/400#invalid_append_salt"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_argon_2_iteration_amount

400Bad request

The iteration_amount value is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_argon_2_iteration_amount"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_argon_2_key_length

400Bad request

The key_length value is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_argon_2_key_length"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_argon_2_memory

400Bad request

The memory value is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_argon_2_memory"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_argon_2_salt

400Bad request

The salt value is an unsupported length.

Error

{
  "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/b2b/api/errors/400#invalid_argon_2_salt"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_argon_2_threads

400Bad request

The threads value is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_argon_2_threads"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_argument

400Bad request

Invalid argument.

Error

{
  "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/b2b/api/errors/400#invalid_argument"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_audience_saml_response

400Bad request

The audience in the SAML response is incorrect.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_audience_saml_response",
  "error_message": "The audience in the SAML response is incorrect.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_audience_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_authentication_type

400Bad request

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.

Error

{
  "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/b2b/api/errors/400#invalid_authentication_type"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_authenticator_type

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_authenticator_type"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_authorization_header

400Bad request

The authorization header provided with the request is invalid.

Common causes

  • HTTP request is missing an Authorization header

  • The Authorization header in the HTTP request is not formatted properly

  • The Authorization header in the HTTP request has the incorrect credentials

Troubleshooting steps

  • Check the Authorization header in the HTTP request for proper formatting.

  • Always use the Basic Auth type in the header.

  • Check the project credentials you entered match your API keys in the Dashboard.

Error

{
  "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/b2b/api/errors/400#invalid_authorization_header"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_authorization_url

400Bad request

Please ensure the length of your authorization_url is less than or equal to 255 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_authorization_url",
  "error_message": "Please ensure the length of your authorization_url is less than or equal to 255 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_authorization_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_base64_scrypt_hash

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_base64_scrypt_hash"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_base64_scrypt_salt

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_base64_scrypt_salt"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_bcrypt_cost

400Bad request

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

{
  "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/b2b/api/errors/400#invalid_bcrypt_cost"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_bcrypt_hash

400Bad request

The bcrypt hash passed is not valid.

Error

{
  "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/b2b/api/errors/400#invalid_bcrypt_hash"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_callback_id

400Bad request

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

{
  "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/b2b/api/errors/400#invalid_callback_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_captcha_provider_id

400Bad request

captcha_provider_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_captcha_provider_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_captcha_provider_type

400Bad request

provider_type should be set to 'GoogleRecaptchaEnterpriseSilentWeb', 'GoogleRecaptchaEnterpriseSilentAndroid', or 'GoogleRecaptchaEnterpriseSilentIOS',.

Error

{
  "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/b2b/api/errors/400#invalid_captcha_provider_type"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_captcha_threshold

400Bad request

threshold should be in the range 0 to 1 inclusive.

Error

{
  "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/b2b/api/errors/400#invalid_captcha_threshold"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_client_id

400Bad request

Please ensure the length of your client_id is less than or equal to 255 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_client_id",
  "error_message": "Please ensure the length of your client_id is less than or equal to 255 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_client_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_client_secret

400Bad request

Please ensure the length of your client_secret is less than or equal to 512 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_client_secret",
  "error_message": "Please ensure the length of your client_secret is less than or equal to 512 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_client_secret"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_code

400Bad request

Code format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_code"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_connection_for_jit_provisioning

400Bad request

The SSO connection isn't allowed to create new users according to the organization's JIT provisioning settings.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_connection_for_jit_provisioning",
  "error_message": "The SSO connection isn't allowed to create new users according to the organization's JIT provisioning settings.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_connection_for_jit_provisioning"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_consumer_endpoint

400Bad request

This endpoint is only enabled for consumer projects.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_consumer_endpoint",
  "error_message": "This endpoint is only enabled for consumer projects.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_consumer_endpoint"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_default_url

400Bad request

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

{
  "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/b2b/api/errors/400#invalid_default_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_discovery_redirect_url

400Bad request

discovery_redirect_url is invalid. Common issues include using http instead of https or omitting https://.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_discovery_redirect_url",
  "error_message": "discovery_redirect_url is invalid. Common issues include using http instead of https or omitting https://.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_discovery_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_display_name

400Bad request

Please ensure the length of your display name is less than or equal to 128 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_display_name",
  "error_message": "Please ensure the length of your display name is less than or equal to 128 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_display_name"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_domain

400Bad request

Invalid domain, ensure that only the domain was provided. Do not include https:// or a port in this value. Visit the link here for more information about valid domains (called RP ID on the site).

Error

{
  "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/b2b/api/errors/400#invalid_domain"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_email

400Bad request

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.

Error

{
  "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/b2b/api/errors/400#invalid_email"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_email_for_invites

400Bad request

The email isn't valid within the organization's invite settings.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_for_invites",
  "error_message": "The email isn't valid within the organization's invite settings.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_email_for_invites"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_email_for_jit_provisioning

400Bad request

The email isn't valid within the organization's JIT provisioning settings.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_for_jit_provisioning",
  "error_message": "The email isn't valid within the organization's JIT provisioning settings.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_email_for_jit_provisioning"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_email_html

400Bad request

email html is not valid.

Error

{
  "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/b2b/api/errors/400#invalid_email_html"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_email_id

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_email_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_email_plaintext

400Bad request

email plaintext is not valid.

Error

{
  "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/b2b/api/errors/400#invalid_email_plaintext"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_email_sandbox

400Bad request

Invalid email. The sanbox@stytch.com email can only be used in the Test environment.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_email_sandbox",
  "error_message": "Invalid email. The sanbox@stytch.com email can only be used in the Test environment.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_email_sandbox"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_email_subject

400Bad request

email subject is not valid.

Error

{
  "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/b2b/api/errors/400#invalid_email_subject"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_expiration

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_expiration"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_expiration_otp

400Bad request

expiration_minutes is invalid, should be between 1 and 10 minutes.

Error

{
  "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/b2b/api/errors/400#invalid_expiration_otp"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_hash

400Bad request

hash is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_hash"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_hash_type

400Bad request

The hash_type is invalid. Please check here for a list of supported hash types.

Error

{
  "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/b2b/api/errors/400#invalid_hash_type"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_id

400Bad request

ID format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_idp_entity_id

400Bad request

Please ensure the length of your idp_entity_id is less than or equal to 255 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_idp_entity_id",
  "error_message": "Please ensure the length of your idp_entity_id is less than or equal to 255 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_idp_entity_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_idp_sso_url

400Bad request

Please ensure the length of your idp_sso_url is less than or equal to 255 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_idp_sso_url",
  "error_message": "Please ensure the length of your idp_sso_url is less than or equal to 255 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_idp_sso_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_intermediate_session_token_for_organization

400Bad request

The intermediate session token is invalid for the requested organization.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_intermediate_session_token_for_organization",
  "error_message": "The intermediate session token is invalid for the requested organization.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_intermediate_session_token_for_organization"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_invite_redirect_url

400Bad request

invite_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.

Error

{
  "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/b2b/api/errors/400#invalid_invite_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_ip_address

400Bad request

ip_address format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_ip_address"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_issuer

400Bad request

Please ensure the length of your issuer is less than or equal to 128 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_issuer",
  "error_message": "Please ensure the length of your issuer is less than or equal to 128 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_issuer"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_jwks_url

400Bad request

Please ensure the length of your jwks_url is less than or equal to 255 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_jwks_url",
  "error_message": "Please ensure the length of your jwks_url is less than or equal to 255 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_jwks_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_locale

400Bad request

locale is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_locale"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_login_oauth_url

400Bad request

login_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.

Error

{
  "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/b2b/api/errors/400#invalid_login_oauth_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_login_redirect_url

400Bad request

login_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.

Error

{
  "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/b2b/api/errors/400#invalid_login_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_login_sso_url

400Bad request

login_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_login_sso_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/b2b/api/errors/400#invalid_login_sso_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_m2m_client_scope

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_m2m_client_scope"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_m2m_client_status

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_m2m_client_status"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_md_5_hash

400Bad request

The MD5 hash passed is not valid.

Error

{
  "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/b2b/api/errors/400#invalid_md_5_hash"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_member_get_fields

400Bad request

Please ensure at least one of the following is provided: member_id, email_address.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_member_get_fields",
  "error_message": "Please ensure at least one of the following is provided: member_id, email_address.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_member_get_fields"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_method_id

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_method_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_microsoft_tenant_type

400Bad request

Only Microsoft Azure Active Directory (AAD) Tenants are permitted to use the Stytch B2B OAuth product. If you are trying to integrate an AAD-B2C account, configure that AAD-B2C tenant as an org-scoped OIDC or SAML connection.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_microsoft_tenant_type",
  "error_message": "Only Microsoft Azure Active Directory (AAD) Tenants are permitted to use the Stytch B2B OAuth product. If you are trying to integrate an AAD-B2C account, configure that AAD-B2C tenant as an org-scoped OIDC or SAML connection.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_microsoft_tenant_type"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_microsoft_user_principal_name

400Bad request

The User Principal Name associated with the login did not have a matching validated domain.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_microsoft_user_principal_name",
  "error_message": "The User Principal Name associated with the login did not have a matching validated domain.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_microsoft_user_principal_name"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_oauth_provider

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_oauth_provider"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_organization_allowed_auth_methods

400Bad request

Allowed auth methods can only be 'sso', 'password', 'google_oauth', 'microsoft_oauth', and/or 'magic_link'

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_organization_allowed_auth_methods",
  "error_message": "Allowed auth methods can only be 'sso', 'password', 'google_oauth', 'microsoft_oauth', and/or 'magic_link'",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_organization_allowed_auth_methods"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_organization_auth_factor_setting

400Bad request

The value provided isn't valid. Valid values are 'NOT_ALLOWED', 'RESTRICTED', or 'ALL_ALLOWED'.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_organization_auth_factor_setting",
  "error_message": "The value provided isn't valid. Valid values are 'NOT_ALLOWED', 'RESTRICTED', or 'ALL_ALLOWED'.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_organization_auth_factor_setting"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_organization_auth_factor_setting_for_email_jit_provisioning

400Bad request

Email JIT Provisioning can only be 'NOT_ALLOWED' or 'RESTRICTED', never 'ALL_ALLOWED'

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_organization_auth_factor_setting_for_email_jit_provisioning",
  "error_message": "Email JIT Provisioning can only be 'NOT_ALLOWED' or 'RESTRICTED', never 'ALL_ALLOWED'",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_organization_auth_factor_setting_for_email_jit_provisioning"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_organization_auth_method_settings

400Bad request

Auth methods can only be 'ALL_ALLOWED' or 'RESTRICTED', never 'NOT_ALLOWED'

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_organization_auth_method_settings",
  "error_message": "Auth methods can only be 'ALL_ALLOWED' or 'RESTRICTED', never 'NOT_ALLOWED'",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_organization_auth_method_settings"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_organization_id

400Bad request

organization_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_organization_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_organization_mfa_policy

400Bad request

The value provided isn't valid. Valid values are 'OPTIONAL', or 'REQUIRED_FOR_ALL'.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_organization_mfa_policy",
  "error_message": "The value provided isn't valid. Valid values are 'OPTIONAL', or 'REQUIRED_FOR_ALL'.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_organization_mfa_policy"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_organization_name

400Bad request

Organization name cannot be longer than 128 characters.

Error

{
  "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/b2b/api/errors/400#invalid_organization_name"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_organization_slug

400Bad request

The organization_slug must be at least 2 characters long and may only contain alphanumerics and the reserved characters '-', '.', '_', or '~'. At least one character must be alphanumeric.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_organization_slug",
  "error_message": "The organization_slug must be at least 2 characters long and may only contain alphanumerics and the reserved characters '-', '.', '_', or '~'. At least one character must be alphanumeric.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_organization_slug"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_password_id

400Bad request

password_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_password_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_password_reset_redirect_url

400Bad request

reset_password_redirect_url is invalid. Common issues include using http instead of https or omitting https://.

Error

{
  "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/b2b/api/errors/400#invalid_password_reset_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_pbkdf_2_hash

400Bad request

The PBKDF-2 hash passed is not valid.

Error

{
  "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/b2b/api/errors/400#invalid_pbkdf_2_hash"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_pbkdf_2_iteration_amount

400Bad request

The provided PBKDF-2 iteration_amount value is invalid. Valid range: 512-524288.

Error

{
  "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-524288.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_pbkdf_2_iteration_amount"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_pbkdf_2_key_length

400Bad request

The provided PBKDF-2 key_length is invalid. Valid range: 8-2048.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_pbkdf_2_key_length",
  "error_message": "The provided PBKDF-2 key_length is invalid. Valid range: 8-2048.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_pbkdf_2_key_length"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_pbkdf_2_salt

400Bad request

The provided PBKDF-2 salt is missing or an invalid length.

Error

{
  "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 missing or an invalid length.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_pbkdf_2_salt"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_permission_action

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_permission_action"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_permission_resource

400Bad request

All resources used in RBAC role permissions must be defined.

Error

{
  "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/b2b/api/errors/400#invalid_permission_resource"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_phone_number

400Bad request

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

Common causes

  • If you’re accepting the raw input from a user, they may have included an invalid character, i.e. not a digit.

  • If the phone number is missing from the call, you may not be passing the input from the user to your backend.

  • [WhatsApp] Meta blocks the delivery of WhatsApp OTP messages to phone numbers from India (+91) - a +91 phone number supplied to our WhatsApp OTP endpoints will result in an invalid_phone_number error.

  • [WhatsApp] Recipient has not accepted WhatsApp's new Terms of Service, or is using an unsupported version of the WhatsApp client for their phone.

Troubleshooting steps

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

  • Check that the phone number is properly formatted with the E. 164 format, e.g. “+14155551234”

  • Check that the phone number only includes allowed characters, i.e. dashes “555-1234” and parentheses “(415)” are not included.

Error

{
  "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/b2b/api/errors/400#invalid_phone_number"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_phone_number_country_code

400Bad request

The phone number's country code is invalid or not supported.

Common causes

  • 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 reach out to support@stytch.com.

  • Regardless of whether or not you are enabled for international SMS, Stytch does not support sending SMS to countries on our Unsupported countries list.

Troubleshooting steps

  • Make sure that the country code you've provided is correctly formatted.

  • Make sure that your Stytch workspace is enabled for SMS to international numbers by reaching out to support@stytch.com.

Error

{
  "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/b2b/api/errors/400#invalid_phone_number_country_code"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_phone_number_docs

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_phone_number_docs"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_phone_number_sandbox

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_phone_number_sandbox"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_phpass_hash_format

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_phpass_hash_format"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_phpass_hash_prefix

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_phpass_hash_prefix"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_pkce_code_challenge

400Bad request

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

{
  "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/b2b/api/errors/400#invalid_pkce_code_challenge"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_pkce_code_verifier

400Bad request

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

{
  "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/b2b/api/errors/400#invalid_pkce_code_verifier"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_prepend_salt

400Bad request

The prepend_salt value is not supported because it's too long.

Error

{
  "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/b2b/api/errors/400#invalid_prepend_salt"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_project_id

400Bad request

project_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_project_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_project_id_authentication

400Bad request

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.

Error

{
  "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/b2b/api/errors/400#invalid_project_id_authentication"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_invalid_authenticator_data

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_invalid_authenticator_data"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_invalid_id

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_invalid_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_invalid_signature

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_invalid_signature"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_malformed_attestation_object

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_malformed_attestation_object"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_malformed_client_data_json

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_malformed_client_data_json"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_missing_attestation_object_field

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_missing_attestation_object_field"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_missing_authenticator_data_field

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_missing_authenticator_data_field"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_missing_client_data_json_field

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_missing_client_data_json_field"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_missing_id_field

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_missing_id_field"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_missing_response_field

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_missing_response_field"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_key_credential_missing_signature_field

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_public_key_credential_missing_signature_field"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_public_token_id

400Bad request

The public_token used to instantiate the Stytch SDK is invalid. You can find your public_token in the API keys section of the Stytch Dashboard.

Common causes

  • No public_token was passed in when loading the Stytch SDK.

  • The public_token passed was invalid, e.g. it contains quotes, was of an incorrect length or format, etc.

Troubleshooting steps

  • Check that your environment contains your Stytch public_token.

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

Error

{
  "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/b2b/api/errors/400#invalid_public_token_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_rbac_role_assignment

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_rbac_role_assignment"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_rbac_role_id

400Bad request

The role_id provided is not valid for this project's RBAC policy.

Error

{
  "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/b2b/api/errors/400#invalid_rbac_role_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_recovery_code

400Bad request

The recovery_code submitted was invalid.

Error

{
  "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/b2b/api/errors/400#invalid_recovery_code"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_redirect_url_type

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_redirect_url_type"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_request

400Bad request

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

Common causes

  • There was a missing project_id parameter, or the project was not found.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error": "invalid_request",
  "error_description": "Invalid request. Ensure that your project ID exists is passed into the URI path.",
  "error_uri": "https://stytch.com/docs/b2b/api/errors/400#invalid_request"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_request_id

400Bad request

request_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_request_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_request_value

400Bad request

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

Error

{
  "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/b2b/api/errors/400#invalid_request_value"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_restricted_email_setting

400Bad request

If either email_jit_provisioning or email_invites is 'RESTRICTED', there must be at least one allowed domain.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_restricted_email_setting",
  "error_message": "If either email_jit_provisioning or email_invites  is 'RESTRICTED', there must be at least one allowed domain.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_restricted_email_setting"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_restricted_sso_setting

400Bad request

If sso_jit_provisioning is 'RESTRICTED', there must be at least one allowed connection.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_restricted_sso_setting",
  "error_message": "If sso_jit_provisioning  is 'RESTRICTED', there must be at least one allowed connection.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_restricted_sso_setting"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_role

400Bad request

Role specified is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_role"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_saml_response

400Bad request

The SAML response could not be validated. Please contact support for additional information.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_saml_response",
  "error_message": "The SAML response could not be validated. Please contact support for additional information.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_saml_response_email

400Bad request

Unable to find a valid email in the SAML response. Check that your SAML connection email attribute mapping matches your provider, or contact support for additional information

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_saml_response_email",
  "error_message": "Unable to find a valid email in the SAML response. Check that your SAML connection email attribute mapping matches your provider, or contact support for additional information",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_saml_response_email"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_saml_response_groups

400Bad request

Unable to find valid groups in the SAML response. Check that your SAML connection groups attribute mapping matches your provider, or contact support for additional information

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_saml_response_groups",
  "error_message": "Unable to find valid groups in the SAML response. Check that your SAML connection groups attribute mapping matches your provider, or contact support for additional information",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_saml_response_groups"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_scope

400Bad request

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

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error": "invalid_scope",
  "error_description": "Please make sure that the scopes requested are included in the client.",
  "error_uri": "https://stytch.com/docs/b2b/api/errors/400#invalid_scope"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_scope_parameter

400Bad request

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

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error": "invalid_scope_parameter",
  "error_description": "`scopes` is not a recognized parameter. Please use `scope` instead.",
  "error_uri": "https://stytch.com/docs/b2b/api/errors/400#invalid_scope_parameter"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_scrypt_n_parameter

400Bad request

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

{
  "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/b2b/api/errors/400#invalid_scrypt_n_parameter"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_scrypt_parameters

400Bad request

The scrypt parameters are too large. The r parameter multipled by p parameter must be under 2 raised to the 30th power (r * p < 2^30).

Error

{
  "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 multipled by p parameter must be under 2 raised to the 30th power (r * p < 2^30).",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_scrypt_parameters"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_scrypt_salt_length

400Bad request

The salt value is an unsupported length.

Error

{
  "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/b2b/api/errors/400#invalid_scrypt_salt_length"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_secret_authentication

400Bad request

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.

Error

{
  "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/b2b/api/errors/400#invalid_secret_authentication"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_secret_id

400Bad request

secret_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_secret_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_session_duration_minutes

400Bad request

session_duration_minutes is invalid, should be between 5 to 527040 minutes.

Error

{
  "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/b2b/api/errors/400#invalid_session_duration_minutes"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_session_fields

400Bad request

Please ensure exactly one of the following is provided: intermediate_session_token, session_token, session_jwt.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_session_fields",
  "error_message": "Please ensure exactly one of the following is provided: intermediate_session_token, session_token, session_jwt.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_session_fields"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_session_id

400Bad request

session_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_session_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_session_missing_primary_factor

400Bad request

Cannot create a new session without primary factors.

Error

{
  "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/b2b/api/errors/400#invalid_session_missing_primary_factor"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_session_token

400Bad request

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

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

  • You are running automated tests with a placeholder value, e.g. “test-123”, for sessions against our API.

Troubleshooting steps

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

  • session_tokens are 44 characters long and may include numbers, letters, and special characters.

  • session_jwts can be arbitrarily long depending upon their contents, and conform to RFC 7519.

Error

{
  "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/b2b/api/errors/400#invalid_session_token"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_session_token_docs

400Bad request

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

{
  "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/b2b/api/errors/400#invalid_session_token_docs"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_sha_1_hash

400Bad request

The SHA-1 hash passed is not valid.

Error

{
  "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/b2b/api/errors/400#invalid_sha_1_hash"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_signature_saml_response

400Bad request

The signature in the SAML response is incorrect.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_signature_saml_response",
  "error_message": "The signature in the SAML response is incorrect.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_signature_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_signup_oauth_url

400Bad request

signup_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.

Error

{
  "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/b2b/api/errors/400#invalid_signup_oauth_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_signup_redirect_url

400Bad request

signup_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.

Error

{
  "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/b2b/api/errors/400#invalid_signup_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_signup_sso_url

400Bad request

signup_redirect_url format is invalid. Common issues include using http instead of https or omitting https://.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_signup_sso_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/b2b/api/errors/400#invalid_signup_sso_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_stytch_prefixed_resource

400Bad request

RBAC resources may not be prefixed with stytch.

Error

{
  "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/b2b/api/errors/400#invalid_stytch_prefixed_resource"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_subject

400Bad request

The subject provided is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_subject"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_template_id

400Bad request

template_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_template_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_token

400Bad request

Token format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_token"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_token_docs

400Bad request

Thanks for trying Stytch! Replace the test token with a valid one found in a Stytch email to start authenticating users.

Error

{
  "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/b2b/api/errors/400#invalid_token_docs"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_token_url

400Bad request

Please ensure the length of your token_url is less than or equal to 255 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_token_url",
  "error_message": "Please ensure the length of your token_url is less than or equal to 255 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_token_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_totp_code

400Bad request

The totp_code submitted was invalid. The totp_code must be 6 digits long.

Error

{
  "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/b2b/api/errors/400#invalid_totp_code"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_totp_id

400Bad request

totp_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_totp_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_url

400Bad request

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

{
  "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/b2b/api/errors/400#invalid_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_user_agent

400Bad request

user_agent format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_user_agent"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_userinfo_url

400Bad request

Please ensure the length of your userinfo_url is less than or equal to 255 characters.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_userinfo_url",
  "error_message": "Please ensure the length of your userinfo_url is less than or equal to 255 characters.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_userinfo_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_webauthn_registration_domain

400Bad request

The domain cannot be longer than 255 characters.

Error

{
  "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/b2b/api/errors/400#invalid_webauthn_registration_domain"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_webauthn_registration_id

400Bad request

webauthn_registration_id format is invalid.

Error

{
  "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/b2b/api/errors/400#invalid_webauthn_registration_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_wildcard_action

400Bad request

RBAC actions may not contain the wild character, *.

Error

{
  "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/b2b/api/errors/400#invalid_wildcard_action"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_x509_certificate

400Bad request

The SSO connection could not be activated because the x509 certificate provided was not valid

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_x509_certificate",
  "error_message": "The SSO connection could not be activated because the x509 certificate provided was not valid",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_x509_certificate"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

invalid_xml_saml_response

400Bad request

The SAML response contained invalid or malformed XML.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "invalid_xml_saml_response",
  "error_message": "The SAML response contained invalid or malformed XML.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_xml_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

jwt_invalid_audience

400Bad request

An invalid audience was found in the ID token. Please reach out to the application developer for support.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "jwt_invalid_audience",
  "error_message": "An invalid audience was found in the ID token. Please reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#jwt_invalid_audience"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

jwt_invalid_claims

400Bad request

An invalid claim was found in the ID token. Please reach out to the application developer for support.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "jwt_invalid_claims",
  "error_message": "An invalid claim was found in the ID token. Please reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#jwt_invalid_claims"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

jwt_invalid_issuer

400Bad request

An invalid issuer was found in the ID token. Please reach out to the application developer for support.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "jwt_invalid_issuer",
  "error_message": "An invalid issuer was found in the ID token. Please reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#jwt_invalid_issuer"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

jwt_template_invalid_json

400Bad request

JWT Template did not produce valid JSON output.

Error

{
  "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/b2b/api/errors/400#jwt_template_invalid_json"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

jwt_template_invalid_tag

400Bad request

JWT Template contains an invalid tag.

Error

{
  "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/b2b/api/errors/400#jwt_template_invalid_tag"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

jwt_template_mismatched_tag

400Bad request

JWT Template contains a mismatched set of tags.

Error

{
  "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/b2b/api/errors/400#jwt_template_mismatched_tag"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

jwt_template_not_found

400Bad request

JWT Template was not found.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "jwt_template_not_found",
  "error_message": "JWT Template was not found.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#jwt_template_not_found"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

live_id_used_in_test_environment

400Bad request

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

{
  "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/b2b/api/errors/400#live_id_used_in_test_environment"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_client_already_rotating_secret

400Bad request

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

Error

{
  "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/b2b/api/errors/400#m2m_client_already_rotating_secret"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_client_invalid_client_description

400Bad request

M2M Client Description may not be larger than 512 characters.

Error

{
  "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/b2b/api/errors/400#m2m_client_invalid_client_description"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_client_invalid_client_id

400Bad request

M2M Client ID may not be larger than 128 characters.

Error

{
  "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/b2b/api/errors/400#m2m_client_invalid_client_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_client_invalid_client_name

400Bad request

M2M Client Name may not be larger than 128 characters.

Error

{
  "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/b2b/api/errors/400#m2m_client_invalid_client_name"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_client_invalid_client_secret

400Bad request

M2M Client Secret may not be larger than 128 characters.

Error

{
  "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/b2b/api/errors/400#m2m_client_invalid_client_secret"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_client_invalid_status

400Bad request

M2M Client status must be either 'active' or 'inactive'.

Error

{
  "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/b2b/api/errors/400#m2m_client_invalid_status"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_client_not_found

400Bad request

The m2m client requested could not be found.

Error

{
  "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/b2b/api/errors/400#m2m_client_not_found"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_client_not_rotating_secret

400Bad request

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

Error

{
  "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/b2b/api/errors/400#m2m_client_not_rotating_secret"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_search_expected_array_of_strings

400Bad request

Expected m2m search filter_value to contain an array of strings.

Error

{
  "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/b2b/api/errors/400#m2m_search_expected_array_of_strings"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_search_filter_name_must_be_string

400Bad request

Expected m2m search operand 'filter_name' to be a string.

Error

{
  "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/b2b/api/errors/400#m2m_search_filter_name_must_be_string"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_search_filter_name_not_recognized

400Bad request

The m2m search operand filter name was not recognized.

Error

{
  "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/b2b/api/errors/400#m2m_search_filter_name_not_recognized"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_search_missing_filter_name

400Bad request

Expected m2m search operand to contain a 'filter_name' key.

Error

{
  "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/b2b/api/errors/400#m2m_search_missing_filter_name"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

m2m_search_missing_filter_value

400Bad request

Expected m2m search operand to contain a filter_value key.

Error

{
  "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/b2b/api/errors/400#m2m_search_missing_filter_value"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_password_not_found

400Bad request

Member password not found

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_password_not_found",
  "error_message": "Member password not found",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_password_not_found"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_reset_password

400Bad request

member must reset their password

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_reset_password",
  "error_message": "member must reset their password",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_reset_password"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_expected_array_of_strings

400Bad request

Expected member search filter_value to contain an array of strings. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_expected_array_of_strings",
  "error_message": "Expected member search filter_value to contain an array of strings. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_expected_array_of_strings"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_expected_boolean

400Bad request

Expected member search filter_value to contain a boolean. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_expected_boolean",
  "error_message": "Expected member search filter_value to contain a boolean. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_expected_boolean"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_expected_string

400Bad request

Expected member search filter_value to contain a string. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_expected_string",
  "error_message": "Expected member search filter_value to contain a string. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_expected_string"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_filter_name_must_be_string

400Bad request

Expected member search operand filter_name to be a string. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_filter_name_must_be_string",
  "error_message": "Expected member search operand filter_name to be a string. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_filter_name_must_be_string"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_filter_name_not_recognized

400Bad request

The member search operand filter_name was not recognized. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_filter_name_not_recognized",
  "error_message": "The member search operand filter_name was not recognized. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_filter_name_not_recognized"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_member_email_fuzzy_too_short

400Bad request

Expected member_email_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_member_email_fuzzy_too_short",
  "error_message": "Expected member_email_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_member_email_fuzzy_too_short"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_member_mfa_phone_number_fuzzy_too_short

400Bad request

Expected member_mfa_phone_number_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_member_mfa_phone_number_fuzzy_too_short",
  "error_message": "Expected member_mfa_phone_number_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_member_mfa_phone_number_fuzzy_too_short"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_filter_name

400Bad request

Expected member search operand to contain a filter_name key. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_filter_name",
  "error_message": "Expected member search operand to contain a filter_name key. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_filter_name"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_filter_value

400Bad request

Expected member search operand to contain a filter_value key. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_filter_value",
  "error_message": "Expected member search operand to contain a filter_value key. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_filter_value"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_is_breakglass

400Bad request

Expected member_is_breakglass to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_is_breakglass",
  "error_message": "Expected member_is_breakglass to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_is_breakglass"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_member_email_fuzzy

400Bad request

Expected member_email_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_member_email_fuzzy",
  "error_message": "Expected member_email_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_member_email_fuzzy"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_member_emails

400Bad request

Expected member_emails to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_member_emails",
  "error_message": "Expected member_emails to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_member_emails"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_member_ids

400Bad request

Expected member_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_member_ids",
  "error_message": "Expected member_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_member_ids"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_member_roles

400Bad request

Expected member_roles to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_member_roles",
  "error_message": "Expected member_roles to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_member_roles"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_mfa_member_phone_number_fuzzy

400Bad request

Expected member_mfa_phone_number_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_mfa_member_phone_number_fuzzy",
  "error_message": "Expected member_mfa_phone_number_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_mfa_member_phone_number_fuzzy"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_mfa_member_phone_numbers

400Bad request

Expected member_mfa_phone_numbers to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_mfa_member_phone_numbers",
  "error_message": "Expected member_mfa_phone_numbers to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_mfa_member_phone_numbers"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_oauth_providers

400Bad request

Expected member_oauth_providers to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_oauth_providers",
  "error_message": "Expected member_oauth_providers to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_oauth_providers"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_organization_id

400Bad request

Expected organization_id to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_organization_id",
  "error_message": "Expected organization_id to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_organization_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_organization_slug

400Bad request

Expected organization_slug to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_organization_slug",
  "error_message": "Expected organization_slug to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_organization_slug"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_organization_slug_fuzzy

400Bad request

Expected organization_slug_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_organization_slug_fuzzy",
  "error_message": "Expected organization_slug_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_organization_slug_fuzzy"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_password_exists

400Bad request

Expected member_password_exists to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_password_exists",
  "error_message": "Expected member_password_exists to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_password_exists"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_status

400Bad request

Expected status to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_status",
  "error_message": "Expected status to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_status"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_missing_statuses

400Bad request

Expected statuses to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_missing_statuses",
  "error_message": "Expected statuses to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_missing_statuses"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_organization_ids_empty

400Bad request

Expected at least one organization_id to be specified for member search. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_organization_ids_empty",
  "error_message": "Expected at least one organization_id to be specified for member search. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_organization_ids_empty"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

member_search_organization_slug_fuzzy_too_short

400Bad request

Expected organization_slug_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "member_search_organization_slug_fuzzy_too_short",
  "error_message": "Expected organization_slug_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-members for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#member_search_organization_slug_fuzzy_too_short"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

metadata_invalid_format

400Bad request

Metadata field must be a JSON object.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "metadata_invalid_format",
  "error_message": "Metadata field must be a JSON object.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#metadata_invalid_format"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

metadata_too_large

400Bad request

Metadata field is too large.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "metadata_too_large",
  "error_message": "Metadata field is too large.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#metadata_too_large"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

metadata_too_many_keys

400Bad request

Metadata field contains too many keys.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "metadata_too_many_keys",
  "error_message": "Metadata field contains too many keys.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#metadata_too_many_keys"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

missing_apple_app_id

400Bad request

The Apple OAuth config is missing an App ID value.

Error

{
  "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/b2b/api/errors/400#missing_apple_app_id"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

missing_oauth_organization_locator

400Bad request

Please pass in an organization_id or slug query parameter to indicate which organization to use for login.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "missing_oauth_organization_locator",
  "error_message": "Please pass in an organization_id or slug query parameter to indicate which organization to use for login.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#missing_oauth_organization_locator"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack


missing_oidc_state_param

400Bad request

OIDC callback was missing state form value

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "missing_oidc_state_param",
  "error_message": "OIDC callback was missing state form value",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#missing_oidc_state_param"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack


missing_saml_relay_state

400Bad request

SAML POST callback was missing RelayState form value

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "missing_saml_relay_state",
  "error_message": "SAML POST callback was missing RelayState form value",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#missing_saml_relay_state"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

missing_saml_response

400Bad request

SAML POST callback was missing SAMLResponse form value

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "missing_saml_response",
  "error_message": "SAML POST callback was missing SAMLResponse form value",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#missing_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

missing_signature_saml_response

400Bad request

The signature in the SAML response is missing.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "missing_signature_saml_response",
  "error_message": "The signature in the SAML response is missing.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#missing_signature_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

missing_sso_connection_locator

400Bad request

Please pass in an organization_id, organization_slug, or connection_id query parameter to indicate which SSO Connection to use for login.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "missing_sso_connection_locator",
  "error_message": "Please pass in an organization_id, organization_slug, or connection_id query parameter to indicate which SSO Connection to use for login.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#missing_sso_connection_locator"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_active_webauthn_registrations

400Bad request

No active WebAuthn registrations for this user ID and domain. To create one, first hit the WebAuthn register/start endpoint. Complete the registration by subsequently hitting the WebAuthn register endpoint.

Error

{
  "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/b2b/api/errors/400#no_active_webauthn_registrations"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_default_discovery_redirect_url_set

400Bad request

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

{
  "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/b2b/api/errors/400#no_default_discovery_redirect_url_set"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_default_invite_redirect_url_set

400Bad request

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

{
  "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/b2b/api/errors/400#no_default_invite_redirect_url_set"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_default_login_redirect_url_set

400Bad request

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

{
  "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/b2b/api/errors/400#no_default_login_redirect_url_set"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_default_signup_redirect_url_set

400Bad request

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

{
  "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/b2b/api/errors/400#no_default_signup_redirect_url_set"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_discovery_redirect_url

400Bad request

There are no discovery redirect URLs registered. To set discovery 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/b2b/api/url-validation.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_discovery_redirect_url",
  "error_message": "There are no discovery redirect URLs registered. To set discovery 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/b2b/api/url-validation.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#no_discovery_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_discovery_redirect_urls_set

400Bad request

Unable to verify the provided discovery_redirect_url. There are no discovery redirect URLs set for this project so we are unable to verify the discovery_redirect_url provided in the request. To set discovery 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

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_discovery_redirect_urls_set",
  "error_message": "Unable to verify the provided discovery_redirect_url. There are no discovery redirect URLs set for this project so we are unable to verify the discovery_redirect_url provided in the request. To set discovery 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/b2b/api/errors/400#no_discovery_redirect_urls_set"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_invite_redirect_url

400Bad request

There are no invite redirect URLs registered. To set invite redirect URLs for this project please visit here. For more information on why this validation is necessary please read more here.

Error

{
  "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/b2b/api/errors/400#no_invite_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_invite_redirect_urls_set

400Bad request

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. For more information on why this validation is necessary please read more here.

Error

{
  "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/b2b/api/errors/400#no_invite_redirect_urls_set"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_login_redirect_url

400Bad request

There are no login redirect URLs registered. To set login redirect URLs for this project please visit here. For more information on why this validation is necessary please read more here.

Error

{
  "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/b2b/api/errors/400#no_login_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_login_redirect_urls_set

400Bad request

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. For more information on why this validation is necessary please read more here.

Error

{
  "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/b2b/api/errors/400#no_login_redirect_urls_set"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack


no_match_for_provided_oauth_url

400Bad request

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

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_match_for_provided_oauth_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/b2b/api/errors/400#no_match_for_provided_oauth_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_match_for_provided_sso_url

400Bad request

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

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_match_for_provided_sso_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/b2b/api/errors/400#no_match_for_provided_sso_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_password_reset_redirect_url

400Bad request

There are no password reset redirect URLs registered. To set password reset redirect URLs for this project please visit here. For more information on why this validation is necessary please read more here.

Error

{
  "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/b2b/api/errors/400#no_password_reset_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_pending_webauthn_registration

400Bad request

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.

Error

{
  "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/b2b/api/errors/400#no_pending_webauthn_registration"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_session_arguments

400Bad request

Please ensure you're passing exactly one session field.

Error

{
  "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/b2b/api/errors/400#no_session_arguments"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_session_revoke_arguments

400Bad request

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

{
  "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/b2b/api/errors/400#no_session_revoke_arguments"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_signup_redirect_url

400Bad request

There are no sign-up redirect URLs registered. To set sign-up redirect URLs for this project please visit here. For more information on why this validation is necessary please read more here.

Error

{
  "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/b2b/api/errors/400#no_signup_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_signup_redirect_urls_set

400Bad request

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. For more information on why this validation is necessary please read more here.

Error

{
  "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/b2b/api/errors/400#no_signup_redirect_urls_set"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_sso_connection_exists_for_organization

400Bad request

The organization does not have any SSO connections configured.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "no_sso_connection_exists_for_organization",
  "error_message": "The organization does not have any SSO connections configured.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#no_sso_connection_exists_for_organization"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

no_wildcards_in_live_redirect_url

400Bad request

Error

{
  "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/b2b/api/errors/400#no_wildcards_in_live_redirect_url"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

not_yet_valid_saml_response

400Bad request

The SAML response is not yet valid. Please attempt to log in again.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "not_yet_valid_saml_response",
  "error_message": "The SAML response is not yet valid. Please attempt to log in again.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#not_yet_valid_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oauth_app_not_authorized

400Bad request

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

{
  "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/b2b/api/errors/400#oauth_app_not_authorized"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oauth_auth_code_error

400Bad request

An error was encountered when exchanging the OAuth auth code. Please try again.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_auth_code_error",
  "error_message": "An error was encountered when exchanging the OAuth auth code. Please try again.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oauth_auth_code_error"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oauth_creating_redirect_url_error

400Bad request

An error was encountered creating a redirect url. Please check your redirect urls and try again.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_creating_redirect_url_error",
  "error_message": "An error was encountered creating a redirect url. Please check your redirect urls and try again.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oauth_creating_redirect_url_error"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oauth_discovery_flow_callback_error

400Bad request

An error was encountered in the callback of the Discovery OAuth flow. Please try again.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_discovery_flow_callback_error",
  "error_message": "An error was encountered in the callback of the Discovery OAuth flow. Please try again.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oauth_discovery_flow_callback_error"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oauth_invalid_callback_request

400Bad request

The OAuth callback request is invalid. Please reach out to the application developer for support.

Error

{
  "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/b2b/api/errors/400#oauth_invalid_callback_request"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oauth_invalid_state

400Bad request

The OAuth state is invalid. Please reach out to the application developer for support.

Error

{
  "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/b2b/api/errors/400#oauth_invalid_state"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oauth_non_discovery_flow_callback_error

400Bad request

An error was encountered in the callback of the OAuth flow. Please try again.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oauth_non_discovery_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/b2b/api/errors/400#oauth_non_discovery_flow_callback_error"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oauth_state_mismatch

400Bad request

The state in the cookie doesn't match with the state in the query parameter. Please reach out to the application developer for support.

Error

{
  "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 reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oauth_state_mismatch"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_auth_code_error

400Bad request

An error was encountered when exchanging the OIDC auth code. Please reach out to the application developer for support.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_auth_code_error",
  "error_message": "An error was encountered when exchanging the OIDC auth code. Please reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_auth_code_error"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_authorization_url_invalid_format

400Bad request

The authorization_url provided in the request body is invalid. Please check to make sure the format is correct.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_authorization_url_invalid_format",
  "error_message": "The authorization_url provided in the request body is invalid. Please check to make sure the format is correct.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_authorization_url_invalid_format"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_authorization_url_required

400Bad request

OIDC connections need an authorization_url before going into active status

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_authorization_url_required",
  "error_message": "OIDC connections need an authorization_url before going into active status",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_authorization_url_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_client_id_required

400Bad request

OIDC connections need a client_id before going into active status

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_client_id_required",
  "error_message": "OIDC connections need a client_id before going into active status",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_client_id_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_client_secret_required

400Bad request

OIDC connections need a client_secret before going into active status

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_client_secret_required",
  "error_message": "OIDC connections need a client_secret before going into active status",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_client_secret_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_issuer_required

400Bad request

OIDC connections need an issuer before going into active status

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_issuer_required",
  "error_message": "OIDC connections need an issuer before going into active status",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_issuer_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_jwks_url_invalid_format

400Bad request

The jwks_url provided in the request body is invalid. Please check to make sure the format is correct.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_jwks_url_invalid_format",
  "error_message": "The jwks_url provided in the request body is invalid. Please check to make sure the format is correct.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_jwks_url_invalid_format"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_jwks_url_required

400Bad request

OIDC connections need a jwks_url before going into active status

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_jwks_url_required",
  "error_message": "OIDC connections need a jwks_url before going into active status",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_jwks_url_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_token_url_invalid_format

400Bad request

The token_url provided in the request body is invalid. Please check to make sure the format is correct.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_token_url_invalid_format",
  "error_message": "The token_url provided in the request body is invalid. Please check to make sure the format is correct.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_token_url_invalid_format"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_token_url_required

400Bad request

OIDC connections need a token_url before going into active status

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_token_url_required",
  "error_message": "OIDC connections need a token_url before going into active status",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_token_url_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_userinfo_url_invalid_format

400Bad request

The userinfo_url provided in the request body is invalid. Please check to make sure the format is correct.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_userinfo_url_invalid_format",
  "error_message": "The userinfo_url provided in the request body is invalid. Please check to make sure the format is correct.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_userinfo_url_invalid_format"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_connection_userinfo_url_required

400Bad request

OIDC connections need a userinfo_url before going into active status

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_connection_userinfo_url_required",
  "error_message": "OIDC connections need a userinfo_url before going into active status",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_connection_userinfo_url_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack


oidc_invalid_callback_request

400Bad request

The OIDC callback request is invalid. Please reach out to the application developer for support.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_invalid_callback_request",
  "error_message": "The OIDC callback request is invalid. Please reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_invalid_callback_request"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_invalid_userinfo

400Bad request

An error was encountered when querying the OIDC userinfo. Please reach out to the application developer for support.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_invalid_userinfo",
  "error_message": "An error was encountered when querying the OIDC userinfo. Please reach out to the application developer for support.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_invalid_userinfo"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_response_email_missing

400Bad request

The information provided in the ID token and userinfo did not include a email.

Error

{
  "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/b2b/api/errors/400#oidc_response_email_missing"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_response_name_missing

400Bad request

The information provided in the ID token and userinfo did not include a name.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_response_name_missing",
  "error_message": "The information provided in the ID token and userinfo did not include a name.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_response_name_missing"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_response_subject_mismatch

400Bad request

The subject claims provided in the ID token and userinfo did not match.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_response_subject_mismatch",
  "error_message": "The subject claims provided in the ID token and userinfo did not match.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_response_subject_mismatch"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

oidc_response_subject_missing

400Bad request

The information provided in the ID token and userinfo did not include a subject.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "oidc_response_subject_missing",
  "error_message": "The information provided in the ID token and userinfo did not include a subject.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#oidc_response_subject_missing"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

operation_restricted_by_organization_auth_methods

400Bad request

The requested operation is not allowed by your organization's allowed auth methods.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "operation_restricted_by_organization_auth_methods",
  "error_message": "The requested operation is not allowed by your organization's allowed auth methods.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#operation_restricted_by_organization_auth_methods"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_name_missing

400Bad request

organization_name is a required argument to create an organization.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_name_missing",
  "error_message": "organization_name is a required argument to create an organization.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_name_missing"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_allowed_domain_fuzzy_too_short

400Bad request

Expected allowed_domain_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_allowed_domain_fuzzy_too_short",
  "error_message": "Expected allowed_domain_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_allowed_domain_fuzzy_too_short"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_expected_array_of_strings

400Bad request

Expected organization search filter_value to contain an array of strings. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_expected_array_of_strings",
  "error_message": "Expected organization search filter_value to contain an array of strings. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_expected_array_of_strings"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_expected_string

400Bad request

Expected organization search filter_value to contain a string. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_expected_string",
  "error_message": "Expected organization search filter_value to contain a string. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_expected_string"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_filter_name_must_be_string

400Bad request

Expected organization search operand filter_name to be a string. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_filter_name_must_be_string",
  "error_message": "Expected organization search operand filter_name to be a string. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_filter_name_must_be_string"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_filter_name_not_recognized

400Bad request

The organization search operand filter_name was not recognized. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_filter_name_not_recognized",
  "error_message": "The organization search operand filter_name was not recognized. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_filter_name_not_recognized"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_member_email_fuzzy_too_short

400Bad request

Expected member_email_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_member_email_fuzzy_too_short",
  "error_message": "Expected member_email_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_member_email_fuzzy_too_short"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_allowed_domain_fuzzy

400Bad request

Expected allowed_domain_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_allowed_domain_fuzzy",
  "error_message": "Expected allowed_domain_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_allowed_domain_fuzzy"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_allowed_domains

400Bad request

Expected allowed_domains to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_allowed_domains",
  "error_message": "Expected allowed_domains to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_allowed_domains"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_filter_name

400Bad request

Expected organization search operand to contain a filter_name key. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_filter_name",
  "error_message": "Expected organization search operand to contain a filter_name key. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_filter_name"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_filter_value

400Bad request

Expected organization search operand to contain a filter_value key. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_filter_value",
  "error_message": "Expected organization search operand to contain a filter_value key. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_filter_value"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_member_email_fuzzy

400Bad request

Expected member_email_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_member_email_fuzzy",
  "error_message": "Expected member_email_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_member_email_fuzzy"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_member_emails

400Bad request

Expected member_emails to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_member_emails",
  "error_message": "Expected member_emails to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_member_emails"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_organization_ids

400Bad request

Expected organization_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_organization_ids",
  "error_message": "Expected organization_ids to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_organization_ids"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_organization_name_fuzzy

400Bad request

Expected organization_name_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_organization_name_fuzzy",
  "error_message": "Expected organization_name_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_organization_name_fuzzy"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_organization_slug_fuzzy

400Bad request

Expected organization_slug_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_organization_slug_fuzzy",
  "error_message": "Expected organization_slug_fuzzy to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_organization_slug_fuzzy"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_missing_organization_slugs

400Bad request

Expected organization_slugs to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_missing_organization_slugs",
  "error_message": "Expected organization_slugs to be passed in the search request but it was not. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_missing_organization_slugs"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_organization_name_fuzzy_too_short

400Bad request

Expected organization_name_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_organization_name_fuzzy_too_short",
  "error_message": "Expected organization_name_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_organization_name_fuzzy_too_short"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_search_organization_slug_fuzzy_too_short

400Bad request

Expected organization_slug_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_search_organization_slug_fuzzy_too_short",
  "error_message": "Expected organization_slug_fuzzy to have a length of at least 3 but it was too short. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_search_organization_slug_fuzzy_too_short"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_settings_domain_too_common

400Bad request

Common domains such as gmail.com are not allowed as allowed domains.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_settings_domain_too_common",
  "error_message": "Common domains such as gmail.com are not allowed as allowed domains.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_settings_domain_too_common"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_settings_duplicate_domain

400Bad request

Please ensure that there are no duplicate domains in the allowed_domains list.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_settings_duplicate_domain",
  "error_message": "Please ensure that there are no duplicate domains in the allowed_domains list.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_settings_duplicate_domain"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_settings_invalid_domain

400Bad request

Please ensure that all values in allowed_domains are valid domains.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_settings_invalid_domain",
  "error_message": "Please ensure that all values in allowed_domains are valid domains.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_settings_invalid_domain"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

organization_slug_already_used

400Bad request

The provided organization_slug is already used in another organization.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "organization_slug_already_used",
  "error_message": "The provided organization_slug is already used in another organization.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#organization_slug_already_used"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

password_already_exists

400Bad request

User already has a password associated with it. Please use the password reset endpoint to update the password if needed.

Error

{
  "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/b2b/api/errors/400#password_already_exists"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

pending_totp_exists

400Bad request

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

{
  "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/b2b/api/errors/400#pending_totp_exists"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

pkce_did_not_expect_code_verifier

400Bad request

This flow was started using a code_challenge but the authentication call is missing the corresponding code_verifier.

Error

{
  "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 using a code_challenge but the authentication call is missing the corresponding code_verifier.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#pkce_did_not_expect_code_verifier"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

pkce_expected_code_verifier

400Bad request

This flow was started using a code_challenge but the authentication call is missing the corresponding code_verifier.

Error

{
  "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/b2b/api/errors/400#pkce_expected_code_verifier"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

pkce_mismatch

400Bad request

The submitted code_verifier does not match the code_challenge sent at the start of the flow.

Error

{
  "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/b2b/api/errors/400#pkce_mismatch"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

pkce_required_for_native_callback

400Bad request

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

{
  "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/b2b/api/errors/400#pkce_required_for_native_callback"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

private_key_too_long

400Bad request

Private key is too long. Please make sure you have the correct value.

Error

{
  "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/b2b/api/errors/400#private_key_too_long"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

project_has_no_public_tokens

400Bad request

Project has no public_tokens. Please create one in the Dashboard at https://stytch.com/dashboard/api-keys.

Error

{
  "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/b2b/api/errors/400#project_has_no_public_tokens"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

public_key_missing

400Bad request

Public key missing from request

Error

{
  "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/b2b/api/errors/400#public_key_missing"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

public_token_required

400Bad request

public_token is required.

Error

{
  "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/b2b/api/errors/400#public_token_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

query_params_do_not_match

400Bad request

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 to make any necessary updates. For more information on why this validation is necessary please read more here.

Error

{
  "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/b2b/api/errors/400#query_params_do_not_match"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

rbac_domain_too_common

400Bad request

Common domains such as gmail.com are not allowed in rbac_email_implicit_role_assignments.

Error

{
  "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/b2b/api/errors/400#rbac_domain_too_common"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

rbac_invalid_domain

400Bad request

Please ensure that all domains in rbac_email_implicit_role_assignments are valid domains.

Error

{
  "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/b2b/api/errors/400#rbac_invalid_domain"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

recovery_code_used_as_totp_code

400Bad request

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

{
  "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/b2b/api/errors/400#recovery_code_used_as_totp_code"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

redirect_url_cannot_use_protocol

400Bad request

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

{
  "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/b2b/api/errors/400#redirect_url_cannot_use_protocol"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

redirect_url_must_use_https

400Bad request

Redirect URLs for web applications must use HTTPS unless redirecting to localhost. Please change the protocol to HTTPS.

Error

{
  "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/b2b/api/errors/400#redirect_url_must_use_https"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

redirect_url_with_wildcard_cannot_be_default

400Bad request

Error

{
  "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/b2b/api/errors/400#redirect_url_with_wildcard_cannot_be_default"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

required_custom_email_domain

400Bad request

a custom email domain is required for custom html emails.

Error

{
  "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/b2b/api/errors/400#required_custom_email_domain"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

requires_active_sso_connection

400Bad request

The provided SSO connection is missing required fields, please see either https://stytch.com/docs/b2b/api/update-saml-connection or https://stytch.com/docs/b2b/api/update-oidc-connection and update the connection with all required fields to promote the connection to active.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "requires_active_sso_connection",
  "error_message": "The provided SSO connection is missing required fields, please see either https://stytch.com/docs/b2b/api/update-saml-connection or https://stytch.com/docs/b2b/api/update-oidc-connection and update the connection with all required fields to promote the connection to active.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#requires_active_sso_connection"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

reserved_claims_in_custom_claims

400Bad request

Cannot use a reserved claim as one of your custom claims.

Error

{
  "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/b2b/api/errors/400#reserved_claims_in_custom_claims"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

reset_password

400Bad request

User must reset their password through the password reset endpoint. 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.

Error

{
  "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/b2b/api/errors/400#reset_password"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

retired_member_email

400Bad request

This email has been deactivated in response to a change from an upstream identity provider. Please contact your IT Admin for assistance.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "retired_member_email",
  "error_message": "This email has been deactivated in response to a change from an upstream identity provider. Please contact your IT Admin for assistance.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#retired_member_email"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

saml_certificate_mismatch

400Bad request

The signature in the SAML response is incorrect. The certificate contained in the response did not match the certificate registered for this connection.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "saml_certificate_mismatch",
  "error_message": "The signature in the SAML response is incorrect. The certificate contained in the response did not match the certificate registered for this connection.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#saml_certificate_mismatch"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

saml_connection_attribute_mapping_required

400Bad request

SAML connections need an attribute mapping before going into active status

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "saml_connection_attribute_mapping_required",
  "error_message": "SAML connections need an attribute mapping before going into active status",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#saml_connection_attribute_mapping_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

saml_connection_email_mapping_required

400Bad request

SAML Connection attribute mapping is missing the 'email' field

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "saml_connection_email_mapping_required",
  "error_message": "SAML Connection attribute mapping is missing the 'email' field",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#saml_connection_email_mapping_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

saml_connection_idp_sso_url_invalid_format

400Bad request

The idp_sso_url provided in the request body is invalid. Please check to make sure the format is correct.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "saml_connection_idp_sso_url_invalid_format",
  "error_message": "The idp_sso_url provided in the request body is invalid. Please check to make sure the format is correct.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#saml_connection_idp_sso_url_invalid_format"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

saml_connection_idp_sso_url_not_https

400Bad request

The idp_sso_url provided in the request body does not use HTTPS.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "saml_connection_idp_sso_url_not_https",
  "error_message": "The idp_sso_url provided in the request body does not use HTTPS.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#saml_connection_idp_sso_url_not_https"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

saml_connection_idp_sso_url_required

400Bad request

SAML connections need an idp_sso_url before going into active status

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "saml_connection_idp_sso_url_required",
  "error_message": "SAML connections need an idp_sso_url before going into active status",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#saml_connection_idp_sso_url_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

saml_connection_metadata_invalid_format

400Bad request

Could not succesfully parse the metadata URL supplied

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "saml_connection_metadata_invalid_format",
  "error_message": "Could not succesfully parse the metadata URL supplied",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#saml_connection_metadata_invalid_format"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

saml_connection_name_mapping_required

400Bad request

SAML Connection attribute mapping is missing either the 'full_name' or both the 'first_name' and 'last_name' fields

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "saml_connection_name_mapping_required",
  "error_message": "SAML Connection attribute mapping is missing either the 'full_name' or both the 'first_name' and 'last_name' fields",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#saml_connection_name_mapping_required"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack


saml_group_role_assignment_does_not_contain_member_group

400Bad request

SAML group role assignment requires a member group.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "saml_group_role_assignment_does_not_contain_member_group",
  "error_message": "SAML group role assignment requires a member group.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#saml_group_role_assignment_does_not_contain_member_group"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

scrypt_key_length_mismatch

400Bad request

The key_length value doesn't match the length of the provided hash.

Error

{
  "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/b2b/api/errors/400#scrypt_key_length_mismatch"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

search_invalid_status_filter

400Bad request

status should be set to 'active' or 'pending'.

Error

{
  "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' or 'pending'.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#search_invalid_status_filter"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

search_timeout

400Bad request

Search timed out. Please try using a more specific search query

Error

{
  "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/b2b/api/errors/400#search_timeout"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

session_must_have_at_least_one_active_factor

400Bad request

The provided session has no active factors and has been revoked.

Error

{
  "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/b2b/api/errors/400#session_must_have_at_least_one_active_factor"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

signature_is_incorrect_size

400Bad request

The signature is the incorrect size in bytes.

Error

{
  "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/b2b/api/errors/400#signature_is_incorrect_size"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

signature_missing

400Bad request

Signature missing from request

Error

{
  "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/b2b/api/errors/400#signature_missing"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

sso_connection_organization_mismatch

400Bad request

The SAML Connection requested exists, but belongs to a different organization.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "sso_connection_organization_mismatch",
  "error_message": "The SAML Connection requested exists, but belongs to a different organization.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#sso_connection_organization_mismatch"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

sso_verification_key_not_found

400Bad request

The verification certificate could not be found. Please pass in a valid, active verification certificate.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "sso_verification_key_not_found",
  "error_message": "The verification certificate could not be found. Please pass in a valid, active verification certificate.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#sso_verification_key_not_found"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

stytch_claims_in_custom_claims

400Bad request

Cannot use https://stytch.com/session as a custom claim.

Error

{
  "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/b2b/api/errors/400#stytch_claims_in_custom_claims"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

test_id_used_in_live_environment

400Bad request

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

{
  "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/b2b/api/errors/400#test_id_used_in_live_environment"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_many_domains

400Bad request

Maximum number of domains exceeded. Can only have a maximum of 10.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_domains",
  "error_message": "Maximum number of domains exceeded. Can only have a maximum of 10.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#too_many_domains"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_many_m2m_client_scopes

400Bad request

Too many scopes were attached to the client. A maximum of 1000 scopes is allowed.

Error

{
  "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/b2b/api/errors/400#too_many_m2m_client_scopes"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_many_oauth_organization_locators

400Bad request

Please pass in at most one of organization_id or slug query parameter to indicate which organization to use for login.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_oauth_organization_locators",
  "error_message": "Please pass in at most one of organization_id or slug query parameter to indicate which organization to use for login.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#too_many_oauth_organization_locators"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_many_roles

400Bad request

RBAC policies may contain a maximum of 10 roles.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_roles",
  "error_message": "RBAC policies may contain a maximum of 10 roles.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#too_many_roles"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_many_session_arguments

400Bad request

Please include at most one of session_token, session_jwt, or intermediate_session_token in an authenticate request, not multiple.

Error

{
  "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/b2b/api/errors/400#too_many_session_arguments"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_many_session_revoke_arguments

400Bad request

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

{
  "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/b2b/api/errors/400#too_many_session_revoke_arguments"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_many_sso_connection_locators

400Bad request

Please pass in at most one of organization_id, organization_slug, or connection_id query parameter to indicate which SSO Connection to use for login.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_sso_connection_locators",
  "error_message": "Please pass in at most one of organization_id, organization_slug, or connection_id query parameter to indicate which SSO Connection to use for login.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#too_many_sso_connection_locators"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_many_sso_connections

400Bad request

The provided organization_id has reached the maximum allowed SSO connections. The maximum is 5 SSO connections per protocol.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_sso_connections",
  "error_message": "The provided organization_id has reached the maximum allowed SSO connections. The maximum is 5 SSO connections per protocol.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#too_many_sso_connections"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_many_sso_verification_certificates

400Bad request

The provided connection_id has reached the maximum allowed verification certificates. The maximum is 5. Please delete a certificate before updating a new one.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_sso_verification_certificates",
  "error_message": "The provided connection_id has reached the maximum allowed verification certificates. The maximum is 5. Please delete a certificate before updating a new one.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#too_many_sso_verification_certificates"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

too_restrictive_organization_settings

400Bad request

All member provisioning mechanisms are set to 'NOT_ALLOWED' - at least one of sso_jit_provisioning, email_jit_provisioning, or email_invites must be set to ALL_ALLOWED or RESTRICTED.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_restrictive_organization_settings",
  "error_message": "All member provisioning mechanisms are set to 'NOT_ALLOWED' - at least one of sso_jit_provisioning, email_jit_provisioning, or email_invites must be set to ALL_ALLOWED or RESTRICTED.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#too_restrictive_organization_settings"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

totp_code_used_as_recovery_code

400Bad request

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

{
  "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/b2b/api/errors/400#totp_code_used_as_recovery_code"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

unable_to_authorize_oauth_provider

400Bad request

Unable to authorize request to this OAuth provider. Please check your project's client ID and secret.

Error

{
  "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 your project's client ID and secret.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#unable_to_authorize_oauth_provider"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

unable_to_delete_last_public_token

400Bad request

Cannot delete the last public_token for a project. Please create another public_token before deleting this one.

Error

{
  "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/b2b/api/errors/400#unable_to_delete_last_public_token"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

unable_to_parse_session_jwt

400Bad request

Unable to parse session JWT

Error

{
  "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/b2b/api/errors/400#unable_to_parse_session_jwt"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

unable_to_register_webauthn_registration

400Bad request

The WebAuthn registration could not be registered.

Error

{
  "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/b2b/api/errors/400#unable_to_register_webauthn_registration"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

unable_to_represent_custom_claims_json

400Bad request

Unable to represent custom claims as a JSON map.

Error

{
  "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/b2b/api/errors/400#unable_to_represent_custom_claims_json"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

unauthorized_client

400Bad request

Please check that the client_id and client_secret are correct, and that the client exists and is active.

Common causes

  • The client was not found or the client_id was incorrect.

  • The secret was incorrect.

  • The client is not active.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error": "unauthorized_client",
  "error_description": "Please check that the `client_id` and `client_secret` are correct, and that the client exists and is active.",
  "error_uri": "https://stytch.com/docs/b2b/api/errors/400#unauthorized_client"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

unsolicited_oidc_response

400Bad request

We do not recognize the state in the OIDC response.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unsolicited_oidc_response",
  "error_message": "We do not recognize the state in the OIDC response.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#unsolicited_oidc_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

unsolicited_saml_response

400Bad request

We do not recognize the InResponseTo ID in the SAML response.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unsolicited_saml_response",
  "error_message": "We do not recognize the InResponseTo ID in the SAML response.",
  "error_url": "https://stytch.com/docs/b2b/api/errors/400#unsolicited_saml_response"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

unsupported_grant_type

400Bad request

Unsupported grant type. Note that the grant_type parameter must be equal to client_credentials in order for the request to succeed.

Error

{
  "status_code": 400,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error": "unsupported_grant_type",
  "error_description": "Unsupported grant type. Note that the `grant_type` parameter must be equal to `client_credentials` in order for the request to succeed.",
  "error_uri": "https://stytch.com/docs/b2b/api/errors/400#unsupported_grant_type"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack

weak_password

400Bad request

Common causes

  • The password does not meet the complexity requirements established by zxcvbn or luds.

Troubleshooting steps

  • Use the password strength check endpoint 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.

Error

{
  "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/b2b/api/errors/400#weak_password"
}
How to get help
Visit our forum
Stytch Forum

Send us an email
support@stytch.com

Ask in Slack
Slack