You may not attach an MFA factor to a member that is not active.
400 errors
action_available_only_for_active_members
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "action_available_only_for_active_members",
"error_message": "You may not attach an MFA factor to a member that is not active.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#action_available_only_for_active_members"
}
active_scim_connection_exists
Cannot create a new SCIM connection for the specified organization since the organization already has an active SCIM connection. Organizations may only have one active SCIM connection at a time.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "active_scim_connection_exists",
"error_message": "Cannot create a new SCIM connection for the specified organization since the organization already has an active SCIM connection. Organizations may only have one active SCIM connection at a time.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#active_scim_connection_exists"
}
active_totp_exists
Cannot create a new TOTP for the specified user since the user already has an active TOTP. Users may only have one active TOTP at a time.
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"
}
allowed_auth_methods_required_for_restricted
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"
}
allowed_mfa_methods_required_for_restricted
Allowed mfa 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_mfa_methods_required_for_restricted",
"error_message": "Allowed mfa methods must be set for 'RESTRICTED' auth methods",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#allowed_mfa_methods_required_for_restricted"
}
apple_oauth_config_not_found
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"
}
argon_2_key_length_mismatch
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"
}
bad_app_bundle_for_stytch_sdk
This app bundle ID has not been registered as an allowed app for the Stytch SDK. Please add it here: https://stytch.com/dashboard/sdk-configuration
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "bad_app_bundle_for_stytch_sdk",
"error_message": "This app bundle ID has not been registered as an allowed app for the Stytch SDK. Please add it here: https://stytch.com/dashboard/sdk-configuration",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#bad_app_bundle_for_stytch_sdk"
}
bad_domain_for_stytch_sdk
This website has not been registered as an allowed domain for the Stytch SDK. Please add it here: https://stytch.com/dashboard/sdk-configuration
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "bad_domain_for_stytch_sdk",
"error_message": "This website has not been registered as an allowed domain for the Stytch SDK. Please add it here: https://stytch.com/dashboard/sdk-configuration",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#bad_domain_for_stytch_sdk"
}
bad_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"
}
bad_vertical_for_stytch_sdk
The credentials used match a different vertical than the one specified in the SDK configuration. Please check if you are using a B2B or B2C project.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "bad_vertical_for_stytch_sdk",
"error_message": "The credentials used match a different vertical than the one specified in the SDK configuration. Please check if you are using a B2B or B2C project.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#bad_vertical_for_stytch_sdk"
}
billing_not_verified
You cannot use this endpoint in the live environment until credit card details are added to your account, but you can try the endpoint in the test environment. Once your billing information is verified, this endpoint can be used in live. 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. 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"
}
billing_not_verified_for_email
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. 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"
}
breached_password
Password doesn't meet the API's strength requirements. A password's strength could be tested with the password strength check endpoint.
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"
}
cannot_assign_default_rbac_role_id
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"
}
cannot_delete_default_sso_connection
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"
}
cannot_delete_email
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"
}
cannot_delete_last_primary_factor
You cannot delete the last primary factor (email, phone number, crypto wallet) for a user because that would make their account difficult or impossible to recover. If you want to remove the user from your project, delete the user 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"
}
cannot_delete_last_sso_verification_key
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"
}
cannot_preserve_existing_sessions
preserve_existing_sessions cannot be set to true if attempting to update a member's email.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "cannot_preserve_existing_sessions",
"error_message": "preserve_existing_sessions cannot be set to true if attempting to update a member's email.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#cannot_preserve_existing_sessions"
}
cannot_reset_password_with_existing_password
Cannot reset user's password using their existing password. This could be because their existing password was part of a data breach or to prevent password squatting. Please reset the password via a session or email reset.
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"
}
cannot_use_webauthn_with_pending_user
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-register-start and https://stytch.com/docs/api/user-states.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#cannot_use_webauthn_with_pending_user"
}
client_secret_too_long
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"
}
custom_claims_too_large
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"
}
default_mfa_member_missing_factor
Attempting to set a default MFA method for a member that does not have that auth method active.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "default_mfa_member_missing_factor",
"error_message": "Attempting to set a default MFA method for a member that does not have that auth method active.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#default_mfa_member_missing_factor"
}
deprecated_endpoint
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"
}
desired_email_deactivated_by_different_member
The requested email_address was deactivated for a different member and cannot be used for other members.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "desired_email_deactivated_by_different_member",
"error_message": "The requested email_address was deactivated for a different member and cannot be used for other members.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#desired_email_deactivated_by_different_member"
}
duplicate_custom_hostname_found
Duplicate custom hostname found during CNAME creation. A custom hostname can only be used in one project.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "duplicate_custom_hostname_found",
"error_message": "Duplicate custom hostname found during CNAME creation. A custom hostname can only be used in one project.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#duplicate_custom_hostname_found"
}
duplicate_email
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"
}
duplicate_email_for_user
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"
}
duplicate_email_template_vanity_id
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"
}
duplicate_external_sso_connection
The external SSO connection already exists for this organization.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "duplicate_external_sso_connection",
"error_message": "The external SSO connection already exists for this organization.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#duplicate_external_sso_connection"
}
duplicate_m2m_client_id
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"
}
duplicate_member_email
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"
}
duplicate_member_phone_number
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"
}
duplicate_member_phone_number_for_member
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"
}
duplicate_organization
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"
}
duplicate_organization_user
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"
}
duplicate_project_user
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"
}
duplicate_redirect_url
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"
}
duplicate_saml_connection
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"
}
duplicate_saml_response
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"
}
duplicate_webauthn_registration
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"
}
email_jit_provisioning_not_allowed
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"
}
email_unverified_for_reactivation
The email associated with the member id provided for reactivation does not belong to a deleted member.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "email_unverified_for_reactivation",
"error_message": "The email associated with the member id provided for reactivation does not belong to a deleted member.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#email_unverified_for_reactivation"
}
expired_oauth_response
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"
}
expired_oidc_response
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"
}
expired_saml_response
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"
}
expired_totp
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"
}
external_connection_id_not_found
The provided external_connection_id was not found.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "external_connection_id_not_found",
"error_message": "The provided external_connection_id was not found.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#external_connection_id_not_found"
}
external_connection_not_active
The provided external_connection_id is not active.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "external_connection_not_active",
"error_message": "The provided external_connection_id is not active.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#external_connection_not_active"
}
failed_saml_response
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"
}
forbidden_character_zero_width_space
Zero width space (U+200B) identified in request, please remove.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "forbidden_character_zero_width_space",
"error_message": "Zero width space (U+200B) identified in request, please remove.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#forbidden_character_zero_width_space"
}
id_token_expired
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"
}
id_token_incorrect_audience
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"
}
id_token_invalid
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"
}
id_token_nonce_invalid
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"
}
inactive_email
The email provided has been marked as inactive by our email provider.
Common causes
Our email provider received a hard bounce when previously attempting to deliver an email to this email address.
This user previously marked an email sent by Stytch as spam.
Troubleshooting steps
Confirm with your user that their email address can now successfully receive emails.
If our email provider previously hit a hard bounce but the email address can now successfully receive emails, you can reactivate it via the User management or Members tab in the Stytch Dashboard.
If the user previously marked a Stytch email as spam but is now interested in receiving Stytch emails again, please reach out to support@stytch.com so that we can reactivate their email address.
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. If the cause of the hard bounce has been resolved, you can reactivate the email address via the User management tab or the Members tab in the Stytch Dashboard.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#inactive_email"
}
indeterminate_sso_connection_for_organization
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"
}
insecure_m2m_client_secret
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"
}
invalid_append_salt
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"
}
invalid_argon_2_iteration_amount
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"
}
invalid_argon_2_key_length
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"
}
invalid_argon_2_memory
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"
}
invalid_argon_2_salt
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"
}
invalid_argon_2_threads
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"
}
invalid_argument
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"
}
invalid_audience_saml_response
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"
}
invalid_authentication_type
The authentication type provided in the header of the request is invalid. The Stytch API uses basic authentication. See more about authenticating Stytch API requests here.
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"
}
invalid_authenticator_type
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"
}
invalid_authorization_header
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"
}
invalid_authorization_url
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"
}
invalid_base64_scrypt_hash
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"
}
invalid_base64_scrypt_salt
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"
}
invalid_bcrypt_cost
The bcrypt cost value is too high, it must be less than 15. If you need a higher cost parameter, please email support@stytch.com.
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"
}
invalid_bcrypt_hash
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"
}
invalid_callback_id
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"
}
invalid_captcha_provider_id
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"
}
invalid_captcha_provider_type
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"
}
invalid_captcha_threshold
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"
}
invalid_client_id
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"
}
invalid_client_secret
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"
}
invalid_code
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"
}
invalid_connection_for_jit_provisioning
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"
}
invalid_consumer_endpoint
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"
}
invalid_default_url
Thanks for trying Stytch! Replace the default URL with your own to get started. If you haven't already done so, you'll also need to set your magic_link_urls in the dashboard here: https://stytch.com/dashboard/redirect-urls
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"
}
invalid_discovery_redirect_url
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"
}
invalid_display_name
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"
}
invalid_domain
Invalid domain, ensure that only the domain was provided. Do not include https:// or a port in this value. Visit the link here 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"
}
invalid_email
The email address is invalid (i.e. not properly formatted) or missing. Check that the email address is properly formatted and only includes allowed characters.
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"
}
invalid_email_domain
Email domain is too large. Please contact support if this is a valid email.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_email_domain",
"error_message": "Email domain is too large. Please contact support if this is a valid email.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_email_domain"
}
invalid_email_for_invites
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"
}
invalid_email_for_jit_provisioning
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"
}
invalid_email_html
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"
}
invalid_email_id
The email_id is invalid (i.e. not properly formatted) or missing. email-test-81bf03a8-86e1-4d95-bd44-bb3495224953 is an example email_id.
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"
}
invalid_email_plaintext
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"
}
invalid_email_sandbox
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"
}
invalid_email_subject
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"
}
invalid_expiration
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"
}
invalid_expiration_otp
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"
}
invalid_google_hosted_domain_error
The Hosted Domain associated with the login did not match the domain of the email given.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_google_hosted_domain_error",
"error_message": "The Hosted Domain associated with the login did not match the domain of the email given.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_google_hosted_domain_error"
}
invalid_hash
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"
}
invalid_hash_type
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"
}
invalid_id
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"
}
invalid_idp_entity_id
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"
}
invalid_idp_sso_url
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"
}
invalid_intermediate_session_token_for_organization
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"
}
invalid_invite_redirect_url
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"
}
invalid_ip_address
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"
}
invalid_issuer
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"
}
invalid_jwks_url
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"
}
invalid_locale
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"
}
invalid_login_oauth_url
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"
}
invalid_login_redirect_url
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"
}
invalid_login_sso_url
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"
}
invalid_m2m_client_scope
The client scope was invalid. Client scopes must be at most 128 characters long and must not contain spaces, backslashes, or quotes.
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"
}
invalid_m2m_client_status
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"
}
invalid_md_5_hash
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"
}
invalid_member_get_fields
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"
}
invalid_method_id
The method_id is invalid (i.e. not properly formatted) or missing. email-test-81bf03a8-86e1-4d95-bd44-bb3495224953 is an example method_id.
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"
}
invalid_mfa_default_method
Attempting to set a default MFA method to an invalid value.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_mfa_default_method",
"error_message": "Attempting to set a default MFA method to an invalid value.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_mfa_default_method"
}
invalid_microsoft_tenant_type
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"
}
invalid_microsoft_user_principal_name
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"
}
invalid_mobile_identifier
The mobile header sent is invalid.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_mobile_identifier",
"error_message": "The mobile header sent is invalid.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_mobile_identifier"
}
invalid_oauth_allowed_tenants_format
Tenants must be in the list of supported OAuth Providers. Supported providers are 'slack', and 'hubspot'. Values must be in a list format.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_oauth_allowed_tenants_format",
"error_message": "Tenants must be in the list of supported OAuth Providers. Supported providers are 'slack', and 'hubspot'. Values must be in a list format.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_oauth_allowed_tenants_format"
}
invalid_oauth_provider
We didn't recognize the OAuth provider name in the request. Check that the argument is the name of a supported OAuth provider.
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"
}
invalid_oauth_tenant_for_jit_provisioning
The OAuth Tenant 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_oauth_tenant_for_jit_provisioning",
"error_message": "The OAuth Tenant isn't valid within the organization's JIT provisioning settings.",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_oauth_tenant_for_jit_provisioning"
}
invalid_organization_allowed_auth_methods
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"
}
invalid_organization_allowed_mfa_methods
Allowed mfa methods can only be 'sms_otp' and/or 'totp'
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_organization_allowed_mfa_methods",
"error_message": "Allowed mfa methods can only be 'sms_otp' and/or 'totp'",
"error_url": "https://stytch.com/docs/b2b/api/errors/400#invalid_organization_allowed_mfa_methods"
}
invalid_organization_auth_factor_setting
The value provided isn't valid. Valid values are 'NOT_ALLOWED', 'RESTRICTED', or 'ALL_ALLOWED'.