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

# 400

> Reference for Stytch API Bad Request errors

export const PUBLIC_SLACK_INVITE_URL = "https://join.slack.com/t/stytch/shared_invite/zt-42pquopf7-wRPXlPff773jBd2DiwKv8g";

## action\_available\_only\_for\_active\_members

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Action available only for active members</strong></p>

    <p>You may not attach an MFA factor to a member that is not active.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#action_available_only_for_active_members"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## action\_available\_only\_once\_primary\_authentication\_is\_met

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Action available only once primary authentication is met</strong></p>

    <p>You must complete the primary authentication requirements for an organization before completing an MFA flow.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "action_available_only_once_primary_authentication_is_met",
    "error_message": "You must complete the primary authentication requirements for an organization before completing an MFA flow.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#action_available_only_once_primary_authentication_is_met"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## action\_not\_allowed\_email\_domain\_is\_claimed

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Action not allowed email domain is claimed</strong></p>

    <p>Members with this email domain are restricted to organizations that have claimed this domain.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "action_not_allowed_email_domain_is_claimed",
    "error_message": "Members with this email domain are restricted to organizations that have claimed this domain.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#action_not_allowed_email_domain_is_claimed"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## active\_scim\_connection\_exists

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Active scim connection exists</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#active_scim_connection_exists"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## active\_totp\_exists

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Active totp exists</strong></p>

    <p>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.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## ad\_blocker\_detected

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Ad blocker detected</strong></p>

    <p>The request was blocked by an Ad Blocker. Please disable your ad blocker and try the request again.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## allowed\_auth\_methods\_required\_for\_restricted

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Allowed auth methods required for restricted</strong></p>

    <p>Allowed auth methods must be set for 'RESTRICTED' auth methods</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#allowed_auth_methods_required_for_restricted"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## allowed\_mfa\_methods\_required\_for\_restricted

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Allowed mfa methods required for restricted</strong></p>

    <p>Allowed mfa methods must be set for 'RESTRICTED' auth methods</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#allowed_mfa_methods_required_for_restricted"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## apple\_oauth\_config\_not\_found

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Apple oauth config not found</strong></p>

    <p>The Apple OAuth config was not found.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## argon\_2\_key\_length\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Argon 2 key length mismatch</strong></p>

    <p>The key\_length value doesn't match the length of the provided hash.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Authorization endpoint not configured for project</strong></p>

    <p>The project does not have an authorization endpoint configured. Please configure it in the dashboard.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Bad app bundle for stytch sdk</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## bad\_domain\_for\_stytch\_sdk

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Bad domain for stytch sdk</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## bad\_request

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Bad request</strong></p>

    <p>The submitted request is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## bad\_vertical\_for\_stytch\_sdk

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Bad vertical for stytch sdk</strong></p>

    <p>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.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## billing\_not\_verified

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Billing not verified</strong></p>

    <p>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 <a href="/dashboard/settings/billing">billing settings</a> to provide billing information.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## billing\_not\_verified\_for\_email

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Billing not verified for email</strong></p>

    <p>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 <a href="/dashboard/settings/billing">billing settings</a> to provide billing information.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## breached\_password

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Breached password</strong></p>

    <p>Password doesn't meet the API's strength requirements. A password's strength could be tested with the <a href="/docs/api/password-strength-check">password strength check endpoint</a>.</p>

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

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

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

    <ul>
      <li>Use the <a href="/docs/api/password-strength-check">password strength check endpoint</a> endpoint to get actionable feedback on improving the strength of the password string. This feedback can be passed on to the end user via your UI.</li>
    </ul>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot add pem file to non pem trusted token profile</strong></p>

    <p>This trusted token profile does not use public key type PEM and cannot have associated PEM files</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot assign default rbac role id</strong></p>

    <p>The default role is implicitly assigned to all members in the project and cannot be explicitly assigned.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## cannot\_delete\_default\_email\_template

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot delete default email template</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## cannot\_delete\_default\_sso\_connection

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot delete default sso connection</strong></p>

    <p>Please update the default SSO connection setting for this organization to a different SSO connection before deleting.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#cannot_delete_default_sso_connection"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## cannot\_delete\_email

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot delete email</strong></p>

    <p>Cannot delete the last email for a user with a password. This ensures they can complete a password reset.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## cannot\_delete\_last\_primary\_factor

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot delete last primary factor</strong></p>

    <p>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, <a href="/docs/api/delete-user">delete the user</a> instead.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## cannot\_delete\_last\_sso\_verification\_key

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot delete last sso verification key</strong></p>

    <p>Cannot delete the last verification certificate for a connection. Please pass in another one before deleting this one.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#cannot_delete_last_sso_verification_key"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## cannot\_preserve\_existing\_sessions

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot preserve existing sessions</strong></p>

    <p>preserve\_existing\_sessions cannot be set to true if attempting to update a member's email.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#cannot_preserve_existing_sessions"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot reset password with existing password</strong></p>

    <p>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.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot specify wildcard with other actions</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## cannot\_toggle\_cross\_org\_passwords\_when\_password\_in\_use

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot toggle cross org passwords when password in use</strong></p>

    <p>Cross-organization passwords setting cannot be updated when a member with an active password exists.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "cannot_toggle_cross_org_passwords_when_password_in_use",
    "error_message": "Cross-organization passwords setting cannot be updated when a member with an active password exists.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#cannot_toggle_cross_org_passwords_when_password_in_use"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cannot use webauthn with pending user</strong></p>

    <p>WebAuthn can only be used with active users. To learn more about WebAuthn and user states please see <a href="/docs/api/webauthn-register-start">here</a> and <a href="/docs/api/user-states">here</a>.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## claimed\_email\_domains\_not\_supported

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Claimed email domains not supported</strong></p>

    <p>Claimed email domains are not supported for this project.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "claimed_email_domains_not_supported",
    "error_message": "Claimed email domains are not supported for this project.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#claimed_email_domains_not_supported"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## client\_secret\_too\_long

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Client secret too long</strong></p>

    <p>Client secret is too long. Please make sure you have the correct value.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cname required to enable http only cookies</strong></p>

    <p>You must have a valid CNAME record to enable HTTP-only cookies. Please add a CNAME record to your DNS configuration.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## connected\_app\_already\_rotating\_secret

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Connected app already rotating secret</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## connected\_app\_invalid\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Connected app invalid redirect url</strong></p>

    <p>The redirect URL for this client is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## connected\_app\_misconfigured\_client

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Connected app misconfigured client</strong></p>

    <p>The client is misconfigured. Check application logs for additional details.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## connected\_app\_not\_rotating\_secret

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Connected app not rotating secret</strong></p>

    <p>The client is not in a secret rotation flow. Please start a secret rotation flow before calling this endpoint.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Connected app redirect url cannot use localhost</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Connected app redirect url http scheme must use loopback</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Connected app redirect url must include scheme</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Connected app redirect url must use http or https scheme</strong></p>

    <p>The redirect URL for this non-public client must use the 'http' or 'https' schemes.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Connected app redirect url must use https scheme</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## country\_code\_allowlist\_b2b\_whatsapp\_not\_supported

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Country code allowlist b2b whatsapp not supported</strong></p>

    <p>WhatsApp country code allowlist is not supported for B2B projects.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "country_code_allowlist_b2b_whatsapp_not_supported",
    "error_message": "WhatsApp country code allowlist is not supported for B2B projects.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#country_code_allowlist_b2b_whatsapp_not_supported"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## country\_code\_allowlist\_billing\_not\_verified

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Country code allowlist billing not verified</strong></p>

    <p>Billing is not verified for this project. Country code allowlist cannot be updated until credit card details are added to your account. Collecting this information helps us prevent abuse of the platform. Please see [https://stytch.com/dashboard/settings/billing](https://stytch.com/dashboard/settings/billing) to provide billing information.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "country_code_allowlist_billing_not_verified",
    "error_message": "Billing is not verified for this project. Country code allowlist cannot be updated until credit card details are added to your account. Collecting this information helps us prevent abuse of the platform. Please see https://stytch.com/dashboard/settings/billing to provide billing information.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#country_code_allowlist_billing_not_verified"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## country\_code\_allowlist\_empty

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Country code allowlist empty</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Country code allowlist invalid country codes</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## cross\_org\_passwords\_enabled

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cross org passwords enabled</strong></p>

    <p>Cross-organization passwords are enabled for this project. This endpoint is not valid for projects using cross-organization passwords.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "cross_org_passwords_enabled",
    "error_message": "Cross-organization passwords are enabled for this project. This endpoint is not valid for projects using cross-organization passwords.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#cross_org_passwords_enabled"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## cross\_org\_passwords\_not\_enabled

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Cross org passwords not enabled</strong></p>

    <p>Cross-organization passwords are not enabled for this project. Please enable them in the dashboard to continue: [https://stytch.com/dashboard/password-strength-config](https://stytch.com/dashboard/password-strength-config).</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "cross_org_passwords_not_enabled",
    "error_message": "Cross-organization passwords are not enabled for this project. Please enable them in the dashboard to continue: https://stytch.com/dashboard/password-strength-config.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#cross_org_passwords_not_enabled"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## custom\_claims\_too\_large

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Custom claims too large</strong></p>

    <p>Custom claims are too large.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## default\_mfa\_member\_missing\_factor

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Default mfa member missing factor</strong></p>

    <p>Attempting to set a default MFA method for a member that does not have that auth method active.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#default_mfa_member_missing_factor"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## deprecated\_endpoint

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Deprecated endpoint</strong></p>

    <p>This endpoint has been deprecated</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## desired\_email\_deactivated\_by\_different\_member

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Desired email deactivated by different member</strong></p>

    <p>The requested email\_address was deactivated for a different member and cannot be used for other members.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#desired_email_deactivated_by_different_member"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## desired\_email\_updating\_for\_different\_member

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Desired email updating for different member</strong></p>

    <p>The requested email\_address is being verified for a different member and cannot be used for other members at the moment.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "desired_email_updating_for_different_member",
    "error_message": "The requested email_address is being verified for a different member and cannot be used for other members at the moment.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#desired_email_updating_for_different_member"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## downstream\_carrier\_error

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Downstream carrier error</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_custom\_hostname\_found

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate custom hostname found</strong></p>

    <p>Duplicate custom hostname found during CNAME creation. A custom hostname can only be used in one project.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_email

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate email</strong></p>

    <p>A user with the specified email already exists for this project.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_email\_for\_user

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate email for user</strong></p>

    <p>The specified email is already tied to this user.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_email\_template\_vanity\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate email template vanity id</strong></p>

    <p>Email template vanity ID already exists.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#duplicate_email_template_vanity_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_external\_sso\_connection

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate external sso connection</strong></p>

    <p>The external SSO connection already exists for this organization.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#duplicate_external_sso_connection"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_m2m\_client\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate m2m client id</strong></p>

    <p>The client ID submitted is already in use by another client.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_member\_email

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate member email</strong></p>

    <p>This email already exists for this organization.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#duplicate_member_email"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_member\_external\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate member external id</strong></p>

    <p>A member with the specified external\_id already exists for this organization.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_member\_phone\_number

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate member phone number</strong></p>

    <p>A member with the specified phone number already exists for this organization.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#duplicate_member_phone_number"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_member\_phone\_number\_for\_member

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate member phone number for member</strong></p>

    <p>A different phone number is already tied to this member.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#duplicate_member_phone_number_for_member"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_organization

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate organization</strong></p>

    <p>An organization with the specified name already exists.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_organization\_user

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate organization user</strong></p>

    <p>A user with the specified email already exists for this organization.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_project\_user

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate project user</strong></p>

    <p>A project user for the specified organization user already exists for this project.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate redirect url</strong></p>

    <p>A redirect URL already exists for the provided URL.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_saml\_connection

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate saml connection</strong></p>

    <p>The SAML connection already exists for this organization and IDP.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#duplicate_saml_connection"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate saml response</strong></p>

    <p>This SAML response has already been seen. Please attempt to log in again.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#duplicate_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## duplicate\_webauthn\_registration

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Duplicate webauthn registration</strong></p>

    <p>The supplied credential ID already exists for this project.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## dynamic\_client\_registration\_not\_enabled

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Dynamic client registration not enabled</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## email\_jit\_provisioning\_not\_allowed

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Email jit provisioning not allowed</strong></p>

    <p>Email JIT provisioning is not allowed for this organization.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#email_jit_provisioning_not_allowed"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## email\_unverified\_for\_reactivation

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Email unverified for reactivation</strong></p>

    <p>The email associated with the member id provided for reactivation is unverified, so the member cannot be reactivated.</p>
  </div>

  ```js theme={null}
  {
    "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 is unverified, so the member cannot be reactivated.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#email_unverified_for_reactivation"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## email\_updates\_available\_only\_for\_active\_members

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Email updates available only for active members</strong></p>

    <p>Members may only update their email address if they are active.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "email_updates_available_only_for_active_members",
    "error_message": "Members may only update their email address if they are active.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#email_updates_available_only_for_active_members"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## email\_verification\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Email verification required</strong></p>

    <p>There is a password linked to this email, but this email has not been verified for this member yet.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "email_verification_required",
    "error_message": "There is a password linked to this email, but this email has not been verified for this member yet.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#email_verification_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## empty\_rbac\_resource\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Empty rbac resource id</strong></p>

    <p>All resource\_ids must be nonempty.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## empty\_rbac\_role\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Empty rbac role id</strong></p>

    <p>All role\_ids must be nonempty.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## empty\_rbac\_scope

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Empty rbac scope</strong></p>

    <p>All scopes must be nonempty.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Event log streaming bad datadog config</strong></p>

    <p>The Datadog config is invalid. Ensure there is a valid API Key and Site.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Event log streaming bad grafana loki config</strong></p>

    <p>The Grafana Loki config is invalid. Ensure there is a valid URL, username, and password.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Event log streaming invalid destination type</strong></p>

    <p>The destination type is invalid. Please use one of the following: datadog, grafana\_loki.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Event log streaming invalid streaming status</strong></p>

    <p>The streaming status is invalid. Please use one of the following: active, disabled, pending.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Event log streaming too many destinations</strong></p>

    <p>A project can only have one active event log streaming destination.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## expired\_oauth\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Expired oauth response</strong></p>

    <p>Too much time has passed since the login flow started. Please attempt to log in again.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#expired_oauth_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## expired\_oidc\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Expired oidc response</strong></p>

    <p>Too much time has passed since the login flow started. Please attempt to log in again.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#expired_oidc_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## expired\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Expired saml response</strong></p>

    <p>Too much time has passed since the login flow started. Please attempt to log in again.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#expired_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## expired\_totp

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Expired totp</strong></p>

    <p>The TOTP for this user has expired without being verified.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## external\_connection\_id\_not\_found

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>External connection id not found</strong></p>

    <p>The provided external\_connection\_id was not found.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#external_connection_id_not_found"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## external\_connection\_not\_active

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>External connection not active</strong></p>

    <p>The provided external\_connection\_id is not active.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#external_connection_not_active"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## external\_organization\_id\_same\_as\_organization\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>External organization id same as organization id</strong></p>

    <p>The external\_organization\_id cannot be the same as the organization\_id.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "external_organization_id_same_as_organization_id",
    "error_message": "The external_organization_id cannot be the same as the organization_id.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#external_organization_id_same_as_organization_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## failed\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Failed saml response</strong></p>

    <p>The user failed to log in to their IDP, or the IDP failed to authenticate the application.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#failed_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## forbidden\_character\_zero\_width\_space

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Forbidden character zero width space</strong></p>

    <p>Zero width space (U+200B) identified in request, please remove.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## id\_token\_expired

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Id token expired</strong></p>

    <p>ID token is expired.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## id\_token\_incorrect\_audience

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Id token incorrect audience</strong></p>

    <p>ID token's audience does not match the OAuth configuration's ID.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## id\_token\_invalid

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Id token invalid</strong></p>

    <p>ID token is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## id\_token\_nonce\_invalid

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Id token nonce invalid</strong></p>

    <p>The provided nonce does not match the nonce in the ID token.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## idp\_access\_token\_expired

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Idp access token expired</strong></p>

    <p>The access token is expired.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## idp\_auth\_code\_expired

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Idp auth code expired</strong></p>

    <p>The authorization code is expired.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Idp invalid access token custom audience</strong></p>

    <p>Access Token Custom Audience is invalid, should be less than 255 characters.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Idp invalid access token expiry minutes</strong></p>

    <p>Access Token Expiry Minutes is invalid, should be between 5 to 1440 minutes.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Idp invalid access token jwt template</strong></p>

    <p>Access Token Template Content is invalid, should be less than 255 characters.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## idp\_refresh\_token\_already\_used

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Idp refresh token already used</strong></p>

    <p>The refresh token has already been used.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## idp\_refresh\_token\_expired

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Idp refresh token expired</strong></p>

    <p>The refresh token is expired.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## inactive\_email

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Inactive email</strong></p>

    <p>The email provided has been marked as inactive by our email provider.</p>

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

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

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## indeterminate\_sso\_connection\_for\_organization

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Indeterminate sso connection for organization</strong></p>

    <p>The organization owns more than one SSO Connection. Please specify the specific connection to be used.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#indeterminate_sso_connection_for_organization"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## insecure\_m2m\_client\_secret

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Insecure m2m client secret</strong></p>

    <p>The client secret submitted is not secure enough. Please generate a more secure secret.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_append\_salt

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid append salt</strong></p>

    <p>The append\_salt value is not supported because it's too long.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_argon\_2\_iteration\_amount

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid argon 2 iteration amount</strong></p>

    <p>The iteration\_amount value is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_argon\_2\_key\_length

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid argon 2 key length</strong></p>

    <p>The key\_length value is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_argon\_2\_memory

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid argon 2 memory</strong></p>

    <p>The memory value is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_argon\_2\_salt

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid argon 2 salt</strong></p>

    <p>The salt value is an unsupported length.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_argon\_2\_threads

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid argon 2 threads</strong></p>

    <p>The threads value is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_argument

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid argument</strong></p>

    <p>Invalid argument.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_audience\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid audience saml response</strong></p>

    <p>The audience in the SAML response is incorrect.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_audience_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_authentication\_type

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid authentication type</strong></p>

    <p>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 <a href="/docs/api">here</a>.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_authenticator\_type

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid authenticator type</strong></p>

    <p>Invalid authenticator type. The valid values are platform and cross-platform.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_authorization\_header

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid authorization header</strong></p>

    <p>The authorization header provided with the request is invalid.</p>

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

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

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

    <ul>
      <li>Check the Authorization header in the HTTP request for proper formatting.</li>
      <li>Always use the Basic Auth type in the header.</li>
      <li>Check the project credentials you entered match your API keys in the <a href="/dashboard">Dashboard</a>.</li>
    </ul>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_authorization\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid authorization url</strong></p>

    <p>Please ensure the length of your authorization\_url is less than or equal to 255 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_authorization_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_base64\_scrypt\_hash

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid base64 scrypt hash</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_base64\_scrypt\_salt

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid base64 scrypt salt</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_bcrypt\_cost

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid bcrypt cost</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_bcrypt\_hash

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid bcrypt hash</strong></p>

    <p>The bcrypt hash passed is not valid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_callback\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid callback id</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_captcha\_provider\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid captcha provider id</strong></p>

    <p>captcha\_provider\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_captcha\_provider\_type

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid captcha provider type</strong></p>

    <p>provider\_type should be set to 'GoogleRecaptchaEnterpriseSilentWeb', 'GoogleRecaptchaEnterpriseSilentAndroid', or 'GoogleRecaptchaEnterpriseSilentIOS',.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_captcha\_threshold

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid captcha threshold</strong></p>

    <p>threshold should be in the range 0 to 1 inclusive.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_client\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid client id</strong></p>

    <p>Please ensure the length of your client\_id is less than or equal to 255 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_client_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_client\_secret

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid client secret</strong></p>

    <p>Please ensure the length of your client\_secret is less than or equal to 512 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_client_secret"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_code

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid code</strong></p>

    <p>Code format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_connected\_app\_type

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid connected app type</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_connection\_for\_jit\_provisioning

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid connection for jit provisioning</strong></p>

    <p>The SSO connection isn't allowed to create new users according to the organization's JIT provisioning settings.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_connection_for_jit_provisioning"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_consumer\_endpoint

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid consumer endpoint</strong></p>

    <p>This endpoint is only enabled for consumer projects.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_consumer_endpoint"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_default\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid default url</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_discovery\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid discovery redirect url</strong></p>

    <p>discovery\_redirect\_url is invalid. Common issues include using http instead of https or omitting https\://.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_discovery_redirect_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_display\_name

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid display name</strong></p>

    <p>Please ensure the length of your display name is less than or equal to 128 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_display_name"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid domain</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email</strong></p>

    <p>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.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email domain</strong></p>

    <p>Email domain is too large. Please contact support if this is a valid email.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_for\_invites

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email for invites</strong></p>

    <p>The email isn't valid within the organization's invite settings.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_email_for_invites"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_for\_jit\_provisioning

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email for jit provisioning</strong></p>

    <p>The email isn't valid within the organization's JIT provisioning settings.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_email_for_jit_provisioning"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_html

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email html</strong></p>

    <p>email html is not valid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email id</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_plaintext

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email plaintext</strong></p>

    <p>email plaintext is not valid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_sandbox

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email sandbox</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_subject

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email subject</strong></p>

    <p>email subject is not valid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_template\_content

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email template content</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_email\_template\_parameters

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid email template parameters</strong></p>

    <p>email plaintext and htmlcontent are both empty.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_email_template_parameters",
    "error_message": "email plaintext and htmlcontent are both empty.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_email_template_parameters"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_expiration

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid expiration</strong></p>

    <p>Expiration is invalid, should be between 5 and 10080 minutes.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_expiration\_otp

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid expiration otp</strong></p>

    <p>expiration\_minutes is invalid, should be between 1 and 10 minutes.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_from\_local\_part

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid from local part</strong></p>

    <p>from\_local\_part format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_google\_hosted\_domain\_error

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid google hosted domain error</strong></p>

    <p>The Hosted Domain associated with the login did not match the domain of the email given.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_google_hosted_domain_error"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_hash

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid hash</strong></p>

    <p>hash is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_hash\_type

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid hash type</strong></p>

    <p>The `hash_type` is invalid. Please check <a href="/docs/api/password-migrate">here</a> for a list of supported hash types.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid id</strong></p>

    <p>ID format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_idp\_entity\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid idp entity id</strong></p>

    <p>Please ensure the length of your idp\_entity\_id is less than or equal to 255 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_idp_entity_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_idp\_sso\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid idp sso url</strong></p>

    <p>Please ensure the length of your idp\_sso\_url is less than or equal to 255 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_idp_sso_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_impersonation\_reason

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid impersonation reason</strong></p>

    <p>Impersonation reason must be less than 255 characters.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_intermediate\_session\_token\_for\_organization

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid intermediate session token for organization</strong></p>

    <p>The intermediate session token is invalid for the requested organization.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_intermediate_session_token_for_organization"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_invite\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid invite redirect url</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_ip\_address

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid ip address</strong></p>

    <p>ip\_address format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_issuer

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid issuer</strong></p>

    <p>Please ensure the length of your issuer is less than or equal to 128 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_issuer"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_jwks\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid jwks url</strong></p>

    <p>Please ensure the length of your jwks\_url is less than or equal to 255 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_jwks_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_locale

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid locale</strong></p>

    <p>locale is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_login\_oauth\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid login oauth url</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_login\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid login redirect url</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_login\_sso\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid login sso url</strong></p>

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

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_login_sso_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_m2m\_client\_scope

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid m2m client scope</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_m2m\_client\_status

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid m2m client status</strong></p>

    <p>The client status sent was invalid. Client statuses must be either 'active' or 'disabled'.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_md\_5\_hash

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid md 5 hash</strong></p>

    <p>The MD5 hash passed is not valid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_member\_get\_fields

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid member get fields</strong></p>

    <p>Please ensure at least one of the following is provided: member\_id, email\_address.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_member_get_fields"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_method\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid method id</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_mfa\_default\_method

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid mfa default method</strong></p>

    <p>Attempting to set a default MFA method to an invalid value.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_mfa_default_method"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_microsoft\_tenant\_type

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid microsoft tenant type</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_microsoft_tenant_type"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_microsoft\_user\_principal\_name

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid microsoft user principal name</strong></p>

    <p>The User Principal Name associated with the login did not have a matching validated domain.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_microsoft_user_principal_name"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_mobile\_identifier

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid mobile identifier</strong></p>

    <p>The mobile header sent is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_oauth\_allowed\_tenants\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid oauth allowed tenants format</strong></p>

    <p>Tenants must be in the list of supported OAuth Providers. Supported providers are 'slack', 'hubspot', and 'github'. Values must be in a list format.</p>
  </div>

  ```js theme={null}
  {
    "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', 'hubspot', and 'github'. Values must be in a list format.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_oauth_allowed_tenants_format"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_oauth\_provider

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid oauth provider</strong></p>

    <p>We didn't recognize the OAuth provider name in the request. Check that the argument is the name of a supported OAuth provider.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_oauth\_tenant\_for\_jit\_provisioning

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid oauth tenant for jit provisioning</strong></p>

    <p>The OAuth Tenant isn't valid within the organization's JIT provisioning settings.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_oauth_tenant_for_jit_provisioning"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_allowed\_auth\_methods

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization allowed auth methods</strong></p>

    <p>Allowed auth methods can only be 'magic\_link', 'sso', 'password', 'email\_otp', 'google\_oauth', 'microsoft\_oauth', 'hubspot\_oauth', 'slack\_oauth', and/or 'github\_oauth'</p>
  </div>

  ```js theme={null}
  {
    "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 'magic_link', 'sso', 'password', 'email_otp', 'google_oauth', 'microsoft_oauth', 'hubspot_oauth', 'slack_oauth', and/or 'github_oauth'",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_organization_allowed_auth_methods"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_allowed\_mfa\_methods

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization allowed mfa methods</strong></p>

    <p>Allowed mfa methods can only be 'sms\_otp' and/or 'totp'</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_organization_allowed_mfa_methods"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_auth\_factor\_setting

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization auth factor setting</strong></p>

    <p>The value provided isn't valid. Valid values are 'NOT\_ALLOWED', 'RESTRICTED', or 'ALL\_ALLOWED'.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_organization_auth_factor_setting"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_auth\_factor\_setting\_for\_email\_jit\_provisioning

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization auth factor setting for email jit provisioning</strong></p>

    <p>Email JIT Provisioning can only be 'NOT\_ALLOWED' or 'RESTRICTED', never 'ALL\_ALLOWED'</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_organization_auth_factor_setting_for_email_jit_provisioning"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_auth\_factor\_setting\_for\_oauth\_tenant\_jit\_provisioning

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization auth factor setting for oauth tenant jit provisioning</strong></p>

    <p>OAuth Tenant JIT Provisioning can only be 'NOT\_ALLOWED' or 'RESTRICTED', never 'ALL\_ALLOWED'</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_organization_auth_factor_setting_for_oauth_tenant_jit_provisioning",
    "error_message": "OAuth Tenant JIT Provisioning can only be 'NOT_ALLOWED' or 'RESTRICTED', never 'ALL_ALLOWED'",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_organization_auth_factor_setting_for_oauth_tenant_jit_provisioning"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_auth\_method\_settings

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization auth method settings</strong></p>

    <p>Auth methods can only be 'ALL\_ALLOWED' or 'RESTRICTED', never 'NOT\_ALLOWED'</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_organization_auth_method_settings"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_external\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization external id</strong></p>

    <p>The organization\_external\_id, if provided, must be non-empty.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_organization_external_id",
    "error_message": "The organization_external_id, if provided, must be non-empty.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_organization_external_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization id</strong></p>

    <p>organization\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_mfa\_factor\_setting

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization mfa factor setting</strong></p>

    <p>The value provided isn't valid. Valid values are 'NOT\_ALLOWED', 'RESTRICTED', or 'ALL\_ALLOWED'.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_organization_mfa_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/api-reference/b2b/api/errors/400#invalid_organization_mfa_factor_setting"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_mfa\_policy

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization mfa policy</strong></p>

    <p>The value provided isn't valid. Valid values are 'OPTIONAL', or 'REQUIRED\_FOR\_ALL'.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_organization_mfa_policy"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_name

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization name</strong></p>

    <p>Organization name cannot be longer than 128 characters.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_organization\_slug

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid organization slug</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_organization_slug"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_password\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid password id</strong></p>

    <p>password\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_password\_reset\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid password reset redirect url</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_password\_strength\_luds\_complexity

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid password strength luds complexity</strong></p>

    <p>The LUDS password complexity should be between 1 and 4, inclusive.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_password\_strength\_luds\_length

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid password strength luds length</strong></p>

    <p>The minimum password length should be between 8 and 32, inclusive.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_pbkdf\_2\_algorithm

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid pbkdf 2 algorithm</strong></p>

    <p>The provided PBKDF-2 algorithm is invalid. Valid arguments are 'sha256' and 'sha512'.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_pbkdf\_2\_hash

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid pbkdf 2 hash</strong></p>

    <p>The PBKDF-2 hash passed is not valid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_pbkdf\_2\_iteration\_amount

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid pbkdf 2 iteration amount</strong></p>

    <p>The provided PBKDF-2 iteration\_amount value is invalid. Valid range: 512-900000.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_pbkdf\_2\_salt

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid pbkdf 2 salt</strong></p>

    <p>The provided PBKDF-2 salt is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_permission\_action

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid permission action</strong></p>

    <p>All actions used in RBAC role permissions must be defined within their respective resource.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_permission\_resource

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid permission resource</strong></p>

    <p>All resources used in RBAC role permissions must be defined.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_phone\_number

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid phone number</strong></p>

    <p>The phone number is invalid, i.e. not properly formatted, or missing.</p>

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

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

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_phone\_number\_country\_code

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid phone number country code</strong></p>

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

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

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

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_phone\_number\_docs

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid phone number docs</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_phone\_number\_sandbox

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid phone number sandbox</strong></p>

    <p>Phone number is invalid. The sandbox phone number, +10000000000, can only be used in the Test environment.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_phpass\_hash\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid phpass hash format</strong></p>

    <p>The phpass hash has an incorrect format as it needs to be exactly 34 characters.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_phpass\_hash\_prefix

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid phpass hash prefix</strong></p>

    <p>The phpass hash is invalid as it needs to start with $P$</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_pkce\_code\_challenge

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid pkce code challenge</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_pkce\_code\_verifier

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid pkce code verifier</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_prepend\_salt

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid prepend salt</strong></p>

    <p>The prepend\_salt value is not supported because it's too long.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_project\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid project id</strong></p>

    <p>project\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_project\_id\_authentication

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid project id authentication</strong></p>

    <p>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 <a href="/dashboard">here</a>.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_project\_name

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid project name</strong></p>

    <p>The project name is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_public\_key

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key</strong></p>

    <p>Invalid public key. The key is present but is malformed and cannot be decoded. The field should be base64 encoded.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_public\_key\_credential

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential</strong></p>

    <p>Invalid public key credential. Please confirm you're passing a correctly formatted public key credential.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential invalid authenticator data</strong></p>

    <p>Invalid public key credential. The authenticatorData field is present but is malformed and cannot be decoded. The field should be base64 encoded.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential invalid id</strong></p>

    <p>Invalid public key credential. The id field is present but is malformed and cannot be decoded. The field should be base64 encoded.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential invalid signature</strong></p>

    <p>Invalid public key credential. The signature field is present but is malformed and cannot be decoded. The field should be base64 encoded.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential malformed attestation object</strong></p>

    <p>Invalid public key credential. The attestationObject field is present but is malformed and cannot be parsed.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential malformed client data json</strong></p>

    <p>Invalid public key credential. The clientDataJSON field is present but is malformed and cannot be parsed.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential missing attestation object field</strong></p>

    <p>Invalid public key credential. The public key credential is missing the attestationObject field.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential missing authenticator data field</strong></p>

    <p>Invalid public key credential. The public key credential is missing the authenticatorData field.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential missing client data json field</strong></p>

    <p>Invalid public key credential. The public key credential is missing the clientDataJSON field.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential missing id field</strong></p>

    <p>Invalid public key credential. The public key credential is missing an id field.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential missing response field</strong></p>

    <p>Invalid public key credential. The public key credential is missing the response field.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

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

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public key credential missing signature field</strong></p>

    <p>Invalid public key credential. The public key credential is missing the signature field.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_public\_token\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid public token id</strong></p>

    <p>The `public_token` used to instantiate the Stytch SDK is invalid. You can find your `public_token` in the <a href="https://stytch.com/dashboard">Project ID & API keys section of the Project Overview</a> in the Stytch Dashboard.</p>

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

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

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

    <ul>
      <li>Check that your environment contains your Stytch `public_token`.</li>
      <li>Check that you're passing the `public_token` in via the correct method. You can see how to launch each Stytch SDK by visiting their respective <a href="/docs/sdks">Docs</a>.</li>
    </ul>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_rbac\_custom\_role

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid rbac custom role</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_rbac\_role\_assignment

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid rbac role assignment</strong></p>

    <p>The role assignment provided is not properly formatted. Make sure both a domain and role\_id are included.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_rbac\_role\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid rbac role id</strong></p>

    <p>The role\_id provided is not valid for this project's RBAC policy.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_rbac\_scope

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid rbac scope</strong></p>

    <p>Scopes cannot contain whitespace, '\\', or '"'</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_rbac\_stytch\_role\_edit

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid rbac stytch role edit</strong></p>

    <p>You may not edit the role\_id or description of the stytch\_user, stytch\_member, or stytch\_admin roles.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_recovery\_code

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid recovery code</strong></p>

    <p>The recovery\_code submitted was invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_redirect\_url\_type

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid redirect url type</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_reply\_to\_local\_part

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid reply to local part</strong></p>

    <p>reply\_to\_local\_part format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_request

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid request</strong></p>

    <p>Invalid request. Ensure that your project ID exists is passed into the URI path.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_request\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid request id</strong></p>

    <p>request\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_request\_value

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid request value</strong></p>

    <p>Invalid request value, request is required and must have a value.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_restricted\_email\_setting

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid restricted email setting</strong></p>

    <p>If either email\_jit\_provisioning or email\_invites is 'RESTRICTED', there must be at least one allowed domain.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_restricted_email_setting"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_restricted\_oauth\_tenants\_setting

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid restricted oauth tenants setting</strong></p>

    <p>There must be at least one allowed OAuth Tenant only if oauth\_tenant\_jit\_provisioning is 'RESTRICTED'.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_restricted_oauth_tenants_setting",
    "error_message": "There must be at least one allowed OAuth Tenant only if oauth_tenant_jit_provisioning is 'RESTRICTED'.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_restricted_oauth_tenants_setting"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_restricted\_sso\_setting

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid restricted sso setting</strong></p>

    <p>If sso\_jit\_provisioning is 'RESTRICTED', there must be at least one allowed connection.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_restricted_sso_setting"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_role

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid role</strong></p>

    <p>Role specified is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_saml\_metadata\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid saml metadata url</strong></p>

    <p>Unable to resolve SAML metadata document. Please ensure that the metadata\_url is a valid IdP metadata URL.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_saml_metadata_url",
    "error_message": "Unable to resolve SAML metadata document. Please ensure that the metadata_url is a valid IdP metadata URL.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_saml_metadata_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid saml response</strong></p>

    <p>The SAML response could not be validated. Please contact support for additional information.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_saml\_response\_email

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid saml response email</strong></p>

    <p>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</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_saml_response_email"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_saml\_response\_groups

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid saml response groups</strong></p>

    <p>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</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_saml_response_groups"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_scim\_idp

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid scim idp</strong></p>

    <p>SCIM IDP format is invalid. IDP must be 'okta', 'microsoft-entra', 'cyberark', 'jumpcloud', 'onelogin', 'pingfederate', 'rippling' or 'generic'.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_scim_idp",
    "error_message": "SCIM IDP format is invalid. IDP must be 'okta', 'microsoft-entra', 'cyberark', 'jumpcloud', 'onelogin', 'pingfederate', 'rippling' or 'generic'.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_scim_idp"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_scope

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid scope</strong></p>

    <p>Please make sure that the scopes requested are included in the client.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_scope\_parameter

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid scope parameter</strong></p>

    <p>`scopes` is not a recognized parameter. Please use `scope` instead.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_scrypt\_n\_parameter

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid scrypt n parameter</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_scrypt\_parameters

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid scrypt parameters</strong></p>

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

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_scrypt_parameters",
    "error_message": "The scrypt parameters are too large. The r parameter multiplied by p parameter must be under 2 raised to the 30th power (r * p < 2^30).",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_scrypt_parameters"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_scrypt\_salt\_length

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid scrypt salt length</strong></p>

    <p>The salt value is an unsupported length.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_secret\_authentication

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid secret authentication</strong></p>

    <p>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 <a href="/dashboard">here</a>.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_secret\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid secret id</strong></p>

    <p>secret\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_session\_duration

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid session duration</strong></p>

    <p>The submitted session duration exceeds the maximum session duration allowed for this project. If this is intentional, please update the maximum duration here: [https://stytch.com/dashboard/sdk-configuration](https://stytch.com/dashboard/sdk-configuration)</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_session_duration",
    "error_message": "The submitted session duration exceeds the maximum session duration allowed for this project. If this is intentional, please update the maximum duration here: https://stytch.com/dashboard/sdk-configuration",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_session_duration"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_session\_duration\_minutes

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid session duration minutes</strong></p>

    <p>session\_duration\_minutes is invalid, should be between 5 to 527040 minutes.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_session_duration_minutes",
    "error_message": "session_duration_minutes is invalid, should be between 5 to 527040 minutes.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_session_duration_minutes"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_session\_fields

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid session fields</strong></p>

    <p>Please ensure exactly one of the following is provided: intermediate\_session\_token, session\_token, session\_jwt.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_session_fields"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_session\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid session id</strong></p>

    <p>session\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_session\_missing\_primary\_factor

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid session missing primary factor</strong></p>

    <p>Cannot create a new session without primary factors.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_session_missing_primary_factor",
    "error_message": "Cannot create a new session without primary factors.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_session_missing_primary_factor"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_session\_token

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid session token</strong></p>

    <p>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.</p>

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

    <ul>
      <li>Your backend or frontend  is not properly parsing the session value from where you are storing it, e.g. you're parsing and passing the key *and* value instead of just the value.</li>
      <li>You are running automated tests with a placeholder value, e.g. “test-123”,  for sessions against our API.</li>
    </ul>

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

    <ul>
      <li>Double check your parsing logic for pulling the `session_token` or `session_jwt`. Make sure that you are only pulling the value itself and preserving the full length of each.</li>
      <li>`session_token`s are 44 characters long and may include numbers, letters, and special characters.</li>
      <li>`session_jwt`s can be arbitrarily long depending upon their contents, and conform to <a href="https://www.rfc-editor.org/rfc/rfc7519">RFC 7519</a>.</li>
    </ul>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_session\_token\_docs

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid session token docs</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_session_token_docs",
    "error_message": "The session_token you provided is a sample one from the Docs. Please use a session_token that you received from a /sessions/authenticate request.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_session_token_docs"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_sha\_1\_hash

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid sha 1 hash</strong></p>

    <p>The SHA-1 hash passed is not valid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_sha\_512\_hash

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid sha 512 hash</strong></p>

    <p>The SHA-512 hash passed is not valid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_signature\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid signature saml response</strong></p>

    <p>The signature in the SAML response is incorrect.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_signature_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_signup\_oauth\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid signup oauth url</strong></p>

    <p>signup\_redirect\_url format is invalid. Common issues include using http instead of https or omitting https\://.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_signup\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid signup redirect url</strong></p>

    <p>signup\_redirect\_url format is invalid. Common issues include using http instead of https or omitting https\://.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_signup\_sso\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid signup sso url</strong></p>

    <p>signup\_redirect\_url format is invalid. Common issues include using http instead of https or omitting https\://.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_signup_sso_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_sso\_default\_connection\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid sso default connection id</strong></p>

    <p>SSO Default Connection ID format is invalid</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_sso\_idp

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid sso idp</strong></p>

    <p>SSO IDP format is invalid. IDP must be 'generic', 'okta', 'microsoft-entra', or 'google-workspace'.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_sso_idp",
    "error_message": "SSO IDP format is invalid. IDP must be 'generic', 'okta', 'microsoft-entra', or 'google-workspace'.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_sso_idp"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_stytch\_prefixed\_resource

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid stytch prefixed resource</strong></p>

    <p>RBAC resources may not be prefixed with `stytch`.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_stytch_prefixed_resource",
    "error_message": "RBAC resources may not be prefixed with `stytch`.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_stytch_prefixed_resource"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_subject

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid subject</strong></p>

    <p>The subject provided is invalid.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_subject",
    "error_message": "The subject provided is invalid.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_subject"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_template\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid template id</strong></p>

    <p>template\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_token

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid token</strong></p>

    <p>Token format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_token\_docs

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid token docs</strong></p>

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

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_token_docs",
    "error_message": "Thanks for trying Stytch! Replace the test token with a valid one found in a Stytch email to start authenticating users.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_token_docs"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_token\_organization\_id\_claim

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid token organization id claim</strong></p>

    <p>Token organization\_id does not match request organization\_id</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_token_organization_id_claim",
    "error_message": "Token organization_id does not match request organization_id",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_token_organization_id_claim"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_token\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid token url</strong></p>

    <p>Please ensure the length of your token\_url is less than or equal to 255 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_token_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_totp\_code

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid totp code</strong></p>

    <p>The totp\_code submitted was invalid. The totp\_code must be 6 digits long.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_totp_code",
    "error_message": "The totp_code submitted was invalid. The totp_code must be 6 digits long.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_totp_code"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_totp\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid totp id</strong></p>

    <p>totp\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_trusted\_auth\_token

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid trusted auth token</strong></p>

    <p>Provided trusted auth token is not valid</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_trusted_auth_token",
    "error_message": "Provided trusted auth token is not valid",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_trusted_auth_token"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid url</strong></p>

    <p>URL format is invalid. Common issues include using http instead of https or omitting https\://. If including query parameters use {} as a placeholder value. For example: [https://example.com/authenticate?redirect=\{}](https://example.com/authenticate?redirect=\{})</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_url",
    "error_message": "URL format is invalid. Common issues include using http instead of https or omitting https://. If including query parameters use {} as a placeholder value. For example: https://example.com/authenticate?redirect={}",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_user\_agent

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid user agent</strong></p>

    <p>user\_agent format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_user\_lock\_threshold

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid user lock threshold</strong></p>

    <p>User lock threshold must be inside the range \[1, 100]</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_user_lock_threshold",
    "error_message": "User lock threshold must be inside the range [1, 100]",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_user_lock_threshold"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_user\_lock\_ttl

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid user lock ttl</strong></p>

    <p>User lock TTL value must be inside range \[300, 604800]</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_user_lock_ttl",
    "error_message": "User lock TTL value must be inside range [300, 604800]",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_user_lock_ttl"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_userinfo\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid userinfo url</strong></p>

    <p>Please ensure the length of your userinfo\_url is less than or equal to 255 characters.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_userinfo_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_webauthn\_registration\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid webauthn registration domain</strong></p>

    <p>The domain cannot be longer than 255 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_webauthn_registration_domain",
    "error_message": "The domain cannot be longer than 255 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_webauthn_registration_domain"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_webauthn\_registration\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid webauthn registration id</strong></p>

    <p>webauthn\_registration\_id format is invalid.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_wildcard\_action

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid wildcard action</strong></p>

    <p>RBAC actions may not contain the wild character, `*`.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_wildcard_action",
    "error_message": "RBAC actions may not contain the wild character, `*`.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_wildcard_action"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_x509\_certificate

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid x509 certificate</strong></p>

    <p>The SSO connection could not be activated because the x509 certificate provided was not valid</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_x509_certificate"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_xml\_from\_saml\_metadata\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid xml from saml metadata url</strong></p>

    <p>The metadata URL contained invalid or malformed XML. Please ensure that it is a valid IdP metadata URL.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "invalid_xml_from_saml_metadata_url",
    "error_message": "The metadata URL contained invalid or malformed XML. Please ensure that it is a valid IdP metadata URL.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#invalid_xml_from_saml_metadata_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## invalid\_xml\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Invalid xml saml response</strong></p>

    <p>The SAML response contained invalid or malformed XML.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#invalid_xml_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## jwt\_invalid\_audience

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Jwt invalid audience</strong></p>

    <p>An invalid audience was found in the ID token. Please reach out to the application developer for support.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#jwt_invalid_audience"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## jwt\_invalid\_claims

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Jwt invalid claims</strong></p>

    <p>An invalid claim was found in the ID token. Please reach out to the application developer for support.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#jwt_invalid_claims"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## jwt\_invalid\_issuer

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Jwt invalid issuer</strong></p>

    <p>An invalid issuer was found in the ID token. Please reach out to the application developer for support.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#jwt_invalid_issuer"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## jwt\_template\_invalid\_json

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Jwt template invalid json</strong></p>

    <p>JWT Template did not produce valid JSON output.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "jwt_template_invalid_json",
    "error_message": "JWT Template did not produce valid JSON output.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#jwt_template_invalid_json"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## jwt\_template\_invalid\_tag

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Jwt template invalid tag</strong></p>

    <p>JWT Template contains an invalid tag.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "jwt_template_invalid_tag",
    "error_message": "JWT Template contains an invalid tag.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#jwt_template_invalid_tag"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## jwt\_template\_mismatched\_tag

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Jwt template mismatched tag</strong></p>

    <p>JWT Template contains a mismatched set of tags.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "jwt_template_mismatched_tag",
    "error_message": "JWT Template contains a mismatched set of tags.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#jwt_template_mismatched_tag"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## live\_id\_used\_in\_test\_environment

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Live id used in test environment</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "live_id_used_in_test_environment",
    "error_message": "Invalid argument sent to Test environment. Looks like you supplied a Live identifier for a request for the Test environment (test.stytch.com). Try sending a request to api.stytch.com instead or using a different identifier.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#live_id_used_in_test_environment"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_client\_already\_rotating\_secret

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m client already rotating secret</strong></p>

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

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_client\_invalid\_client\_description

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m client invalid client description</strong></p>

    <p>M2M Client Description may not be larger than 512 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_client_invalid_client_description",
    "error_message": "M2M Client Description may not be larger than 512 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_client_invalid_client_description"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_client\_invalid\_client\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m client invalid client id</strong></p>

    <p>M2M Client ID may not be larger than 128 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_client_invalid_client_id",
    "error_message": "M2M Client ID may not be larger than 128 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_client_invalid_client_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_client\_invalid\_client\_name

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m client invalid client name</strong></p>

    <p>M2M Client Name may not be larger than 128 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_client_invalid_client_name",
    "error_message": "M2M Client Name may not be larger than 128 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_client_invalid_client_name"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_client\_invalid\_client\_secret

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m client invalid client secret</strong></p>

    <p>M2M Client Secret may not be larger than 128 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_client_invalid_client_secret",
    "error_message": "M2M Client Secret may not be larger than 128 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_client_invalid_client_secret"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_client\_invalid\_status

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m client invalid status</strong></p>

    <p>M2M Client status must be either 'active' or 'inactive'.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_client_invalid_status",
    "error_message": "M2M Client status must be either 'active' or 'inactive'.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_client_invalid_status"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_client\_not\_found

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m client not found</strong></p>

    <p>The m2m client requested could not be found.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_client_not_found",
    "error_message": "The m2m client requested could not be found.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_client_not_found"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_client\_not\_rotating\_secret

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m client not rotating secret</strong></p>

    <p>The client is not in a secret rotation flow. Please start a secret rotation flow before calling this endpoint.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_search\_expected\_array\_of\_strings

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m search expected array of strings</strong></p>

    <p>Expected m2m search filter\_value to contain an array of strings.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_search_expected_array_of_strings",
    "error_message": "Expected m2m search filter_value to contain an array of strings.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_search_expected_array_of_strings"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_search\_filter\_name\_must\_be\_string

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m search filter name must be string</strong></p>

    <p>Expected m2m search operand 'filter\_name' to be a string.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_search_filter_name_must_be_string",
    "error_message": "Expected m2m search operand 'filter_name' to be a string.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_search_filter_name_must_be_string"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_search\_filter\_name\_not\_recognized

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m search filter name not recognized</strong></p>

    <p>The m2m search operand filter name was not recognized.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_search_filter_name_not_recognized",
    "error_message": "The m2m search operand filter name was not recognized.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_search_filter_name_not_recognized"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_search\_missing\_filter\_name

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m search missing filter name</strong></p>

    <p>Expected m2m search operand to contain a 'filter\_name' key.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_search_missing_filter_name",
    "error_message": "Expected m2m search operand to contain a 'filter_name' key.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_search_missing_filter_name"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## m2m\_search\_missing\_filter\_value

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>M2m search missing filter value</strong></p>

    <p>Expected m2m search operand to contain a filter\_value key.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "m2m_search_missing_filter_value",
    "error_message": "Expected m2m search operand to contain a filter_value key.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#m2m_search_missing_filter_value"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_cannot\_update\_their\_email\_address

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member cannot update their email address</strong></p>

    <p>The member performing the action cannot update their own email address.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "member_cannot_update_their_email_address",
    "error_message": "The member performing the action cannot update their own email address.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#member_cannot_update_their_email_address"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_dashboard\_search\_disabled

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member dashboard search disabled</strong></p>

    <p>Member search is temporarily disabled in the dashboard. Please use the API for any member search queries: see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members).</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "member_dashboard_search_disabled",
    "error_message": "Member search is temporarily disabled in the dashboard. Please use the API for any member search queries: see https://stytch.com/docs/b2b/api/search-members.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#member_dashboard_search_disabled"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_has\_no\_active\_verified\_email

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member has no active verified email</strong></p>

    <p>The member does not have an active verified email address. Please ensure that the member's email is verified before proceeding.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "member_has_no_active_verified_email",
    "error_message": "The member does not have an active verified email address. Please ensure that the member's email is verified before proceeding.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#member_has_no_active_verified_email"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_impersonation\_not\_allowed

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member impersonation not allowed</strong></p>

    <p>Member cannot be impersonated</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "member_impersonation_not_allowed",
    "error_message": "Member cannot be impersonated",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#member_impersonation_not_allowed"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_password\_not\_found

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member password not found</strong></p>

    <p>Member password not found</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_password_not_found"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_reset\_password

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member reset password</strong></p>

    <p>member must reset their password</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_reset_password"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_cannot\_mix\_internal\_and\_external\_member\_ids

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search cannot mix internal and external member ids</strong></p>

    <p>Cannot mix internal and external member ids for this filter</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "member_search_cannot_mix_internal_and_external_member_ids",
    "error_message": "Cannot mix internal and external member ids for this filter",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#member_search_cannot_mix_internal_and_external_member_ids"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_expected\_array\_of\_strings

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search expected array of strings</strong></p>

    <p>Expected member search filter\_value to contain an array of strings. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_expected_array_of_strings"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_expected\_boolean

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search expected boolean</strong></p>

    <p>Expected member search filter\_value to contain a boolean. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_expected_boolean"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_expected\_string

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search expected string</strong></p>

    <p>Expected member search filter\_value to contain a string. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_expected_string"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_filter\_name\_must\_be\_string

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search filter name must be string</strong></p>

    <p>Expected member search operand filter\_name to be a string. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_filter_name_must_be_string"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_filter\_name\_not\_recognized

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search filter name not recognized</strong></p>

    <p>The member search operand filter\_name was not recognized. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_filter_name_not_recognized"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_member\_email\_fuzzy\_too\_short

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search member email fuzzy too short</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_member_email_fuzzy_too_short"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_member\_mfa\_phone\_number\_fuzzy\_too\_short

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search member mfa phone number fuzzy too short</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_member_mfa_phone_number_fuzzy_too_short"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_filter\_name

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing filter name</strong></p>

    <p>Expected member search operand to contain a filter\_name key. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_filter_name"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_filter\_value

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing filter value</strong></p>

    <p>Expected member search operand to contain a filter\_value key. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_filter_value"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_is\_breakglass

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing is breakglass</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_is_breakglass"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_member\_email\_fuzzy

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing member email fuzzy</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_member_email_fuzzy"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_member\_emails

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing member emails</strong></p>

    <p>Expected member\_emails to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_member_emails"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_member\_ids

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing member ids</strong></p>

    <p>Expected member\_ids to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_member_ids"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_member\_roles

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing member roles</strong></p>

    <p>Expected member\_roles to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_member_roles"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_mfa\_member\_phone\_number\_fuzzy

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing mfa member phone number fuzzy</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_mfa_member_phone_number_fuzzy"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_mfa\_member\_phone\_numbers

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing mfa member phone numbers</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_mfa_member_phone_numbers"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_oauth\_providers

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing oauth providers</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_oauth_providers"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_organization\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing organization id</strong></p>

    <p>Expected organization\_id to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_organization_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_organization\_slug

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing organization slug</strong></p>

    <p>Expected organization\_slug to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_organization_slug"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_organization\_slug\_fuzzy

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing organization slug fuzzy</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_organization_slug_fuzzy"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_password\_exists

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing password exists</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_password_exists"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_status

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing status</strong></p>

    <p>Expected status to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_status"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_statuses

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing statuses</strong></p>

    <p>Expected statuses to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_missing_statuses"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_missing\_totp\_exists

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search missing totp exists</strong></p>

    <p>Expected member\_totp\_exists to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "member_search_missing_totp_exists",
    "error_message": "Expected member_totp_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/api-reference/b2b/api/errors/400#member_search_missing_totp_exists"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_organization\_ids\_empty

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search organization ids empty</strong></p>

    <p>Expected at least one organization\_id to be specified for member search. Please see [https://stytch.com/docs/b2b/api/search-members](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_organization_ids_empty"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_search\_organization\_slug\_fuzzy\_too\_short

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member search organization slug fuzzy too short</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-members) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#member_search_organization_slug_fuzzy_too_short"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## member\_session\_member\_id\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Member session member id mismatch</strong></p>

    <p>The provided member session must match the member ID.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "member_session_member_id_mismatch",
    "error_message": "The provided member session must match the member ID.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#member_session_member_id_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## metadata\_invalid\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Metadata invalid format</strong></p>

    <p>Metadata field must be a JSON object.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#metadata_invalid_format"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## metadata\_too\_large

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Metadata too large</strong></p>

    <p>Metadata field is too large.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#metadata_too_large"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## metadata\_too\_many\_keys

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Metadata too many keys</strong></p>

    <p>Metadata field contains too many keys.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#metadata_too_many_keys"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## migrate\_from\_external\_email\_does\_not\_exist

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Migrate from external email does not exist</strong></p>

    <p>Please ensure that the user and email exist before migrating an external session.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "migrate_from_external_email_does_not_exist",
    "error_message": "Please ensure that the user and email exist before migrating an external session.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#migrate_from_external_email_does_not_exist"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## migrate\_from\_external\_missing\_userinfo

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Migrate from external missing userinfo</strong></p>

    <p>The project is missing the OIDC userinfo endpoint. Please configure one in the Stytch dashboard and try again.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "migrate_from_external_missing_userinfo",
    "error_message": "The project is missing the OIDC userinfo endpoint. Please configure one in the Stytch dashboard and try again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#migrate_from_external_missing_userinfo"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## migrate\_from\_external\_unexpected\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Migrate from external unexpected response</strong></p>

    <p>An error was encountered when querying the external provider's userinfo endpoint.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "migrate_from_external_unexpected_response",
    "error_message": "An error was encountered when querying the external provider's userinfo endpoint.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#migrate_from_external_unexpected_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_apple\_app\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing apple app id</strong></p>

    <p>The Apple OAuth config is missing an App ID value.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "missing_apple_app_id",
    "error_message": "The Apple OAuth config is missing an App ID value.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#missing_apple_app_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_oauth\_organization\_locator

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing oauth organization locator</strong></p>

    <p>Please pass in an organization\_id or slug query parameter to indicate which organization to use for login.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#missing_oauth_organization_locator"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_oauth\_refresh\_token

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing oauth refresh token</strong></p>

    <p>The Identity Provider did not issue a refresh token and the initial access token is expired. Log in using the identity provider again to issue a new set of credentials. See [https://stytch.com/docs/b2b/api/get-google-access-token](https://stytch.com/docs/b2b/api/get-google-access-token) for more information.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "missing_oauth_refresh_token",
    "error_message": "The Identity Provider did not issue a refresh token and the initial access token is expired. Log in using the identity provider again to issue a new set of credentials. See https://stytch.com/docs/b2b/api/get-google-access-token for more information.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#missing_oauth_refresh_token"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_oidc\_csrf\_cookie

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing oidc csrf cookie</strong></p>

    <p>OIDC callback was missing anti-CSRF cookie. Please try again.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "missing_oidc_csrf_cookie",
    "error_message": "OIDC callback was missing anti-CSRF cookie. Please try again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#missing_oidc_csrf_cookie"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_oidc\_refresh\_token

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing oidc refresh token</strong></p>

    <p>The Identity Provider did not issue a refresh token and the initial access token is expired. Log in using the identity provider again to issue a new set of credentials.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "missing_oidc_refresh_token",
    "error_message": "The Identity Provider did not issue a refresh token and the initial access token is expired. Log in using the identity provider again to issue a new set of credentials.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#missing_oidc_refresh_token"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_oidc\_state\_param

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing oidc state param</strong></p>

    <p>OIDC callback was missing state form value</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#missing_oidc_state_param"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_saml\_csrf\_cookie

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing saml csrf cookie</strong></p>

    <p>SAML POST callback was missing anti-CSRF cookie. Please try again.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "missing_saml_csrf_cookie",
    "error_message": "SAML POST callback was missing anti-CSRF cookie. Please try again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#missing_saml_csrf_cookie"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_saml\_relay\_state

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing saml relay state</strong></p>

    <p>SAML POST callback was missing RelayState form value</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#missing_saml_relay_state"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing saml response</strong></p>

    <p>SAML POST callback was missing SAMLResponse form value</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#missing_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_signature\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing signature saml response</strong></p>

    <p>The signature in the SAML response is missing.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#missing_signature_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## missing\_sso\_connection\_locator

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Missing sso connection locator</strong></p>

    <p>Please pass in an organization\_id, organization\_slug, or connection\_id query parameter to indicate which SSO Connection to use for login.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#missing_sso_connection_locator"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## must\_have\_jwks\_url\_for\_trusted\_token\_profile\_with\_type\_jwk

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Must have jwks url for trusted token profile with type jwk</strong></p>

    <p>This trusted token profile using public key type JWK must have a JWKS url</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "must_have_jwks_url_for_trusted_token_profile_with_type_jwk",
    "error_message": "This trusted token profile using public key type JWK must have a JWKS url",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#must_have_jwks_url_for_trusted_token_profile_with_type_jwk"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## must\_have\_pem\_files\_for\_trusted\_token\_profile\_with\_type\_pem

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Must have pem files for trusted token profile with type pem</strong></p>

    <p>This trusted token profile using public key type PEM must have at least one PEM file</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "must_have_pem_files_for_trusted_token_profile_with_type_pem",
    "error_message": "This trusted token profile using public key type PEM must have at least one PEM file",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#must_have_pem_files_for_trusted_token_profile_with_type_pem"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_active\_recovery\_code\_backed\_factor

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No active recovery code backed factor</strong></p>

    <p>No active authentication factors that are backed by recovery codes were found for the member.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_active_recovery_code_backed_factor",
    "error_message": "No active authentication factors that are backed by recovery codes were found for the member.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_active_recovery_code_backed_factor"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_active\_scim\_connection

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No active scim connection</strong></p>

    <p>No active SCIM connection exists for this organization.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_active_scim_connection",
    "error_message": "No active SCIM connection exists for this organization.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_active_scim_connection"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_active\_webauthn\_registrations

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No active webauthn registrations</strong></p>

    <p>No active WebAuthn registrations for this user ID and domain. To create one, first hit the WebAuthn <a href="/docs/api/webauthn-register-start">register/start</a> endpoint. Complete the registration by subsequently hitting the WebAuthn <a href="/docs/api/webauthn-register">register</a> endpoint.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_active_webauthn_registrations",
    "error_message": "No active WebAuthn registrations for this user ID and domain. To create one, first hit the WebAuthn register/start endpointwith the supplied user ID and domain: https://stytch.com/docs/api/webauthn-register-start. Complete the registration by subsequently hitting the WebAuthn register endpoint: https://stytch.com/docs/api/webauthn-register.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_active_webauthn_registrations"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_default\_discovery\_redirect\_url\_set

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No default discovery redirect url set</strong></p>

    <p>There is no default discovery redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a discovery redirect URL in the request or set a default for this project. To set discovery redirect URLs for this project please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls)</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_default_discovery_redirect_url_set",
    "error_message": "There is no default discovery redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a discovery redirect URL in the request or set a default for this project. To set discovery redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_default_discovery_redirect_url_set"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_default\_invite\_redirect\_url\_set

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No default invite redirect url set</strong></p>

    <p>There is no default invite redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a invite redirect URL in the request or set a default for this project. To set invite redirect URLs for this project please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls)</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_default_invite_redirect_url_set",
    "error_message": "There is no default invite redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a invite redirect URL in the request or set a default for this project. To set invite redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_default_invite_redirect_url_set"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_default\_login\_redirect\_url\_set

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No default login redirect url set</strong></p>

    <p>There is no default login redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a login redirect URL in the request or set a default for this project. To set login redirect URLs for this project please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls)</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_default_login_redirect_url_set",
    "error_message": "There is no default login redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a login redirect URL in the request or set a default for this project. To set login redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_default_login_redirect_url_set"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_default\_signup\_redirect\_url\_set

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No default signup redirect url set</strong></p>

    <p>There is no default signup redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a signup redirect URL in the request or set a default for this project. To set signup redirect URLs for this project please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls)</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_default_signup_redirect_url_set",
    "error_message": "There is no default signup redirect URLs set for this project, so we are unable to redirect the user to the application. Please include a signup redirect URL in the request or set a default for this project. To set signup redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_default_signup_redirect_url_set"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_deleted\_member\_found\_for\_reactivation

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No deleted member found for reactivation</strong></p>

    <p>The member id provided for reactivation does not belong to a deleted member.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_deleted_member_found_for_reactivation",
    "error_message": "The member id provided for reactivation does not belong to a deleted member.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_deleted_member_found_for_reactivation"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_discovery\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No discovery redirect url</strong></p>

    <p>There are no discovery redirect URLs registered. To set discovery redirect URLs for this project please visit [https://stytch.com/dashboard/redirect-urls](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](https://stytch.com/docs/b2b/api/url-validation).</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#no_discovery_redirect_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_discovery\_redirect\_urls\_set

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No discovery redirect urls set</strong></p>

    <p>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](https://stytch.com/dashboard/redirect-urls). For more information on why this validation is necessary please visit [https://stytch.com/docs/api/url-validation](https://stytch.com/docs/api/url-validation)</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#no_discovery_redirect_urls_set"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_invite\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No invite redirect url</strong></p>

    <p>There are no invite redirect URLs registered. To set invite redirect URLs for this project please visit <a href="/dashboard/redirect-urls">here</a>. For more information on why this validation is necessary please read more <a href="/docs/api/url-validation">here</a>.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_invite_redirect_url",
    "error_message": "There are no invite redirect URLs registered. To set invite redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_invite_redirect_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_invite\_redirect\_urls\_set

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No invite redirect urls set</strong></p>

    <p>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 <a href="/dashboard/redirect-urls">here</a>. For more information on why this validation is necessary please read more <a href="/docs/api/url-validation">here</a>.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_invite_redirect_urls_set",
    "error_message": "Unable to verify the provided invite_magic_link_url. There are no invite redirect URLs set for this project so we are unable to verify the invite_magic_link_url provided in the request. To set invite redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_invite_redirect_urls_set"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_login\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No login redirect url</strong></p>

    <p>There are no login redirect URLs registered. To set login redirect URLs for this project please visit <a href="/dashboard/redirect-urls">here</a>. For more information on why this validation is necessary please read more <a href="/docs/api/url-validation">here</a>.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_login_redirect_url",
    "error_message": "There are no login redirect URLs registered. To set login redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_login_redirect_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_login\_redirect\_urls\_set

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No login redirect urls set</strong></p>

    <p>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 <a href="/dashboard/redirect-urls">here</a>. For more information on why this validation is necessary please read more <a href="/docs/api/url-validation">here</a>.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_login_redirect_urls_set",
    "error_message": "Unable to verify the provided login_magic_link_url. There are no login redirect URLs set for this project so we are unable to verify the login_magic_link_url provided in the request. To set login redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_login_redirect_urls_set"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_match\_for\_provided\_magic\_link\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No match for provided magic link url</strong></p>

    <p>The `magic_link_url` in the request did not match any redirect URLs set for the project. Please visit the Stytch Dashboard <a href="/dashboard/redirect-urls">here</a> to update the redirect URLs for the project. For more information on why this validation is necessary please read more <a href="/docs/api/url-validation">here</a>.</p>

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

    <ul>
      <li>The provided `magic_link_url` was not added to the Stytch Dashboard</li>
      <li>The provided `magic_link_url` contents were changed during development, and the Stytch Dashboard was not updated accordingly</li>
    </ul>

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

    <ul>
      <li>Compare provided `magic_link_url` with values in the Dashboard</li>
      <li>Be sure `magic_link_url` is a redirect URL in the Stytch environment you are using. The **Test** and **Live** redirect urls are configured separately with the Dashboard.</li>
    </ul>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_match_for_provided_magic_link_url",
    "error_message": "The magic_link_url in the request did not match any redirect URLs set for this project. Please visit https://stytch.com/dashboard/redirect-urls to update the redirect URLs for this project. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_match_for_provided_magic_link_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_match\_for\_provided\_oauth\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No match for provided oauth url</strong></p>

    <p>The oauth redirect url in the request did not match any redirect URLs set for this project. Please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls) to update the redirect URLs for this project. For more information on why this validation is necessary please visit [https://stytch.com/docs/api/url-validation](https://stytch.com/docs/api/url-validation)</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_match_for_provided_oauth_url",
    "error_message": "The oauth redirect url in the request did not match any redirect URLs set for this project. Please visit https://stytch.com/dashboard/redirect-urls to update the redirect URLs for this project. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_match_for_provided_oauth_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_match\_for\_provided\_sso\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No match for provided sso url</strong></p>

    <p>The sso redirect url in the request did not match any redirect URLs set for this project. Please visit [https://stytch.com/dashboard/redirect-urls](https://stytch.com/dashboard/redirect-urls) to update the redirect URLs for this project. For more information on why this validation is necessary please visit [https://stytch.com/docs/api/url-validation](https://stytch.com/docs/api/url-validation)</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_match_for_provided_sso_url",
    "error_message": "The sso redirect url in the request did not match any redirect URLs set for this project. Please visit https://stytch.com/dashboard/redirect-urls to update the redirect URLs for this project. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_match_for_provided_sso_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_oauth\_authorize\_member\_selector

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No oauth authorize member selector</strong></p>

    <p>Please ensure only one of the following is passed: session\_token, session\_jwt, or a member\_id + organization\_id. Exactly one of those values is required to identify the member.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_oauth_authorize_member_selector",
    "error_message": "Please ensure only one of the following is passed: session_token, session_jwt, or a member_id + organization_id. Exactly one of those values is required to identify the member.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_oauth_authorize_member_selector"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_password\_reset\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No password reset redirect url</strong></p>

    <p>There are no password reset redirect URLs registered. To set password reset redirect URLs for this project please visit <a href="/dashboard/redirect-urls">here</a>. For more information on why this validation is necessary please read more <a href="/docs/api/url-validation">here</a>.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_password_reset_redirect_url",
    "error_message": "Unable to verify the provided reset_password_redirect_url. There are no password reset redirect URLs set for this project so we are unable to verify the reset_password_redirect_url provided in the request. To set password reset redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_password_reset_redirect_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_pending\_webauthn\_registration

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No pending webauthn registration</strong></p>

    <p>Unable to find a pending registration tied to this user. Please ensure you've first hit the WebAuthn <a href="/docs/api/webauthn-register-start">register/start</a> endpoint with the supplied `user_id`.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_pending_webauthn_registration",
    "error_message": "Unable to find a pending registration tied to this user. Please ensure you've first hit the WebAuthn register/start endpoint with the supplied user ID: https://stytch.com/docs/api/webauthn-register-start.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_pending_webauthn_registration"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_session\_arguments

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No session arguments</strong></p>

    <p>Please ensure you're passing exactly one session field.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_session_arguments",
    "error_message": "Please ensure you're passing exactly one session field.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_session_arguments"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_session\_revoke\_arguments

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No session revoke arguments</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_session_revoke_arguments",
    "error_message": "Please include a session_id, session_token, session_jwt, or a member_id (if the project is a B2B project). Exactly one of those values is required to revoke a session.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_session_revoke_arguments"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_signup\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No signup redirect url</strong></p>

    <p>There are no sign-up redirect URLs registered. To set sign-up redirect URLs for this project please visit <a href="/dashboard/redirect-urls">here</a>. For more information on why this validation is necessary please read more <a href="/docs/api/url-validation">here</a>.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_signup_redirect_url",
    "error_message": "There are no signup redirect URLs registered. To set signup redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_signup_redirect_url"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_signup\_redirect\_urls\_set

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No signup redirect urls set</strong></p>

    <p>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 <a href="/dashboard/redirect-urls">here</a>. For more information on why this validation is necessary please read more <a href="/docs/api/url-validation">here</a>.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "no_signup_redirect_urls_set",
    "error_message": "Unable to verify the provided signup_magic_link_url. There are no signup redirect URLs set for this project so we are unable to verify the signup_magic_link_url provided in the request. To set signup redirect URLs for this project please visit https://stytch.com/dashboard/redirect-urls. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#no_signup_redirect_urls_set"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_sso\_connection\_exists\_for\_organization

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No sso connection exists for organization</strong></p>

    <p>The organization does not have any SSO connections configured.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#no_sso_connection_exists_for_organization"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## no\_wildcards\_in\_live\_redirect\_url

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>No wildcards in live redirect url</strong></p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## not\_yet\_valid\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Not yet valid saml response</strong></p>

    <p>The SAML response is not yet valid. Please attempt to log in again.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#not_yet_valid_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_access\_token\_exchange\_missing\_full\_access

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth access token exchange missing full access</strong></p>

    <p>The token used for Access Token exchange was missing the Full Access scope. The Full Access scope is required to call this endpoint.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_access_token_exchange_missing_full_access",
    "error_message": "The token used for Access Token exchange was missing the Full Access scope. The Full Access scope is required to call this endpoint.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_access_token_exchange_missing_full_access"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_access\_token\_exchange\_token\_invalid\_grant

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth access token exchange token invalid grant</strong></p>

    <p>The token used for Access Token exchange must be generated from an 'authorization\_code' grant.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_access_token_exchange_token_invalid_grant",
    "error_message": "The token used for Access Token exchange must be generated from an 'authorization_code' grant.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_access_token_exchange_token_invalid_grant"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_access\_token\_exchange\_token\_too\_old

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth access token exchange token too old</strong></p>

    <p>The token used for Access Token exchange is more than five minutes old. A fresh Access Token is required to call this endpoint.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_access_token_exchange_token_too_old",
    "error_message": "The token used for Access Token exchange is more than five minutes old. A fresh Access Token is required to call this endpoint.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_access_token_exchange_token_too_old"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_app\_not\_authorized

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth app not authorized</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_app_not_authorized",
    "error_message": "You did not authorize this app to perform a signup or login. To use this app, log in again and authorize the required permissions during the login flow. Please reach out to the application developer for more support.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_app_not_authorized"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_auth\_code\_error

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth auth code error</strong></p>

    <p>An error was encountered when exchanging the OAuth auth code. Please try again.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oauth_auth_code_error"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_creating\_redirect\_url\_error

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth creating redirect url error</strong></p>

    <p>An error was encountered creating a redirect url. Please check your redirect urls and try again.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oauth_creating_redirect_url_error"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_discovery\_flow\_callback\_error

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth discovery flow callback error</strong></p>

    <p>An error was encountered in the callback of the Discovery OAuth flow. Please try again.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oauth_discovery_flow_callback_error"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_invalid\_callback\_request

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth invalid callback request</strong></p>

    <p>The OAuth callback request is invalid. Please reach out to the application developer for support.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_invalid_callback_request",
    "error_message": "The OAuth callback request is invalid. Please reach out to the application developer for support.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_invalid_callback_request"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_invalid\_scope\_requested

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth invalid scope requested</strong></p>

    <p>An invalid scope has been requested. Please check the set of scopes and try again.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_invalid_scope_requested",
    "error_message": "An invalid scope has been requested. Please check the set of scopes and try again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_invalid_scope_requested"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_invalid\_state

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth invalid state</strong></p>

    <p>The OAuth state is invalid. Please reach out to the application developer for support.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_invalid_state",
    "error_message": "The OAuth state is invalid. Please reach out to the application developer for support.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_invalid_state"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_non\_discovery\_flow\_callback\_error

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth non discovery flow callback error</strong></p>

    <p>An error was encountered in the callback of the OAuth flow. Please try again.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oauth_non_discovery_flow_callback_error"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_state\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth state mismatch</strong></p>

    <p>The state in the cookie doesn't match with the state in the query parameter. Please retry your login flow. If you continue receiving this error, reach out to the application developer for support.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_state_mismatch",
    "error_message": "The state in the cookie doesn't match with the state in the query parameter. Please retry your login flow. If you continue receiving this error, reach out to the application developer for support.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_state_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_state\_used

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth state used</strong></p>

    <p>The OAuth state value has already been used.</p>

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

    <ul>
      <li>The user completed the same OAuth flow twice. For example, they completed the OAuth flow, then navigated back in the browser and completed it again.</li>
    </ul>

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

    <ul>
      <li>If the user already has an active Stytch Session, this error can likely be ignored.</li>
      <li>If the user does not have an active Stytch Session, prompt them to try completing the OAuth flow again from the beginning.</li>
    </ul>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_state_used",
    "error_message": "The OAuth state has previously been used. Please try the login flow again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_state_used"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_tenant\_jit\_provisioning\_not\_allowed

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth tenant jit provisioning not allowed</strong></p>

    <p>OAuth Tenant JIT provisioning is not allowed for this organization.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_tenant_jit_provisioning_not_allowed",
    "error_message": "OAuth Tenant JIT provisioning is not allowed for this organization.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_tenant_jit_provisioning_not_allowed"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_token\_exchange\_google\_missing\_information

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth token exchange google missing information</strong></p>

    <p>Provider did not respond with required information during OAuth token exchange, please try again. If the problem persists, please reach out to support.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_token_exchange_google_missing_information",
    "error_message": "Provider did not respond with required information during OAuth token exchange, please try again. If the problem persists, please reach out to support.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_token_exchange_google_missing_information"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_token\_exchange\_invalid\_client

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth token exchange invalid client</strong></p>

    <p>Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). Please check the client ID and secret of your OAuth configuration.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_token_exchange_invalid_client",
    "error_message": "Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). Please check the client ID and secret of your OAuth configuration.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_token_exchange_invalid_client"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_token\_exchange\_invalid\_request

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth token exchange invalid request</strong></p>

    <p>The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed. Please reach out to support.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_token_exchange_invalid_request",
    "error_message": "The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed. Please reach out to support.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_token_exchange_invalid_request"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_token\_exchange\_invalid\_scope

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth token exchange invalid scope</strong></p>

    <p>The scopes requested were invalid. Please check the scopes you are requesting and try again.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_token_exchange_invalid_scope",
    "error_message": "The scopes requested were invalid. Please check the scopes you are requesting and try again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_token_exchange_invalid_scope"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_token\_exchange\_microsoft\_expired\_secret

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth token exchange microsoft expired secret</strong></p>

    <p>Expired client secret provided. Ensure the secret in your OAuth configuration is up to date. You may need to add a new secret in your Microsoft Azure portal.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_token_exchange_microsoft_expired_secret",
    "error_message": "Expired client secret provided. Ensure the secret in your OAuth configuration is up to date. You may need to add a new secret in your Microsoft Azure portal.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_token_exchange_microsoft_expired_secret"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_token\_exchange\_microsoft\_invalid\_secret

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth token exchange microsoft invalid secret</strong></p>

    <p>Invalid client secret provided. Ensure the secret in your OAuth configuration is the client secret value, not the client secret ID.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_token_exchange_microsoft_invalid_secret",
    "error_message": "Invalid client secret provided. Ensure the secret in your OAuth configuration is the client secret value, not the client secret ID.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_token_exchange_microsoft_invalid_secret"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oauth\_token\_exchange\_unauthorized\_client

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oauth token exchange unauthorized client</strong></p>

    <p>The authenticated client is not authorized to use this authorization grant type. Please check your settings and try again. If the problem persists, please reach out to support.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oauth_token_exchange_unauthorized_client",
    "error_message": "The authenticated client is not authorized to use this authorization grant type. Please check your settings and try again. If the problem persists, please reach out to support.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oauth_token_exchange_unauthorized_client"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_auth\_code\_error

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc auth code error</strong></p>

    <p>An error was encountered when exchanging the OIDC auth code. Please reach out to the application developer for support.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_auth_code_error"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_authorization\_url\_invalid\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection authorization url invalid format</strong></p>

    <p>The authorization\_url provided in the request body is invalid. Please check to make sure the format is correct.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_authorization_url_invalid_format"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_authorization\_url\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection authorization url required</strong></p>

    <p>OIDC connections need an authorization\_url before going into active status</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_authorization_url_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_client\_id\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection client id required</strong></p>

    <p>OIDC connections need a client\_id before going into active status</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_client_id_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_client\_secret\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection client secret required</strong></p>

    <p>OIDC connections need a client\_secret before going into active status</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_client_secret_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_issuer\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection issuer required</strong></p>

    <p>OIDC connections need an issuer before going into active status</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_issuer_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_issuer\_url\_invalid\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection issuer url invalid format</strong></p>

    <p>The issuer provided in the request body is not a valid url. Please check to make sure the format is correct.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oidc_connection_issuer_url_invalid_format",
    "error_message": "The issuer provided in the request body is not a valid url. Please check to make sure the format is correct.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oidc_connection_issuer_url_invalid_format"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_jwks\_url\_invalid\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection jwks url invalid format</strong></p>

    <p>The jwks\_url provided in the request body is invalid. Please check to make sure the format is correct.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_jwks_url_invalid_format"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_jwks\_url\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection jwks url required</strong></p>

    <p>OIDC connections need a jwks\_url before going into active status</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_jwks_url_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_token\_url\_invalid\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection token url invalid format</strong></p>

    <p>The token\_url provided in the request body is invalid. Please check to make sure the format is correct.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_token_url_invalid_format"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_token\_url\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection token url required</strong></p>

    <p>OIDC connections need a token\_url before going into active status</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_token_url_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_connection\_userinfo\_url\_invalid\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc connection userinfo url invalid format</strong></p>

    <p>The userinfo\_url provided in the request body is invalid. Please check to make sure the format is correct.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_connection_userinfo_url_invalid_format"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_csrf\_cookie\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc csrf cookie mismatch</strong></p>

    <p>OIDC callback failed anti-CSRF cookie detection. Please try again.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oidc_csrf_cookie_mismatch",
    "error_message": "OIDC callback failed anti-CSRF cookie detection. Please try again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oidc_csrf_cookie_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_invalid\_callback\_request

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc invalid callback request</strong></p>

    <p>The OIDC callback request is invalid. Please reach out to the application developer for support.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_invalid_callback_request"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_invalid\_userinfo

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc invalid userinfo</strong></p>

    <p>An error was encountered when querying the OIDC userinfo. Please reach out to the application developer for support.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_invalid_userinfo"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_prompt\_none\_must\_be\_exclusive

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc prompt none must be exclusive</strong></p>

    <p>If 'none' is used as a value for the 'prompt' parameter, then it must be the only value.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oidc_prompt_none_must_be_exclusive",
    "error_message": "If 'none' is used as a value for the 'prompt' parameter, then it must be the only value.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oidc_prompt_none_must_be_exclusive"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_response\_email\_missing

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc response email missing</strong></p>

    <p>The information provided in the ID token and userinfo did not include a email.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oidc_response_email_missing",
    "error_message": "The information provided in the ID token and userinfo did not include a email.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oidc_response_email_missing"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_response\_name\_missing

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc response name missing</strong></p>

    <p>The information provided in the ID token and userinfo did not include a name.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_response_name_missing"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_response\_subject\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc response subject mismatch</strong></p>

    <p>The subject claims provided in the ID token and userinfo did not match.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_response_subject_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_response\_subject\_missing

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc response subject missing</strong></p>

    <p>The information provided in the ID token and userinfo did not include a subject.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#oidc_response_subject_missing"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## oidc\_user\_not\_assigned\_to\_app\_in\_idp

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Oidc user not assigned to app in idp</strong></p>

    <p>The user is not assigned to the app in the IDP.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "oidc_user_not_assigned_to_app_in_idp",
    "error_message": "The user is not assigned to the app in the IDP.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#oidc_user_not_assigned_to_app_in_idp"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## operation\_restricted\_by\_organization\_auth\_methods

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Operation restricted by organization auth methods</strong></p>

    <p>The requested operation is not allowed by your organization's allowed auth methods.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#operation_restricted_by_organization_auth_methods"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## operation\_restricted\_by\_organization\_mfa\_methods

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Operation restricted by organization mfa methods</strong></p>

    <p>The requested operation is not allowed by your organization's allowed mfa methods.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "operation_restricted_by_organization_mfa_methods",
    "error_message": "The requested operation is not allowed by your organization's allowed mfa methods.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#operation_restricted_by_organization_mfa_methods"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_external\_id\_already\_used

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization external id already used</strong></p>

    <p>The provided organization\_external\_id is already used in another organization.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_external_id_already_used",
    "error_message": "The provided organization_external_id is already used in another organization.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#organization_external_id_already_used"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_logo\_url\_too\_long

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization logo url too long</strong></p>

    <p>organization\_logo\_url length exceeds our maximum of 512 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_logo_url_too_long",
    "error_message": "organization_logo_url length exceeds our maximum of 512 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#organization_logo_url_too_long"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_name\_includes\_banned\_words

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization name includes banned words</strong></p>

    <p>organization\_name includes a banned word.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_name_includes_banned_words",
    "error_message": "organization_name includes a banned word.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#organization_name_includes_banned_words"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_name\_missing

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization name missing</strong></p>

    <p>organization\_name is a required argument to create an organization.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_name_missing"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_allowed\_domain\_fuzzy\_too\_short

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search allowed domain fuzzy too short</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_allowed_domain_fuzzy_too_short"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_expected\_array\_of\_strings

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search expected array of strings</strong></p>

    <p>Expected organization search filter\_value to contain an array of strings. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_expected_array_of_strings"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_expected\_boolean

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search expected boolean</strong></p>

    <p>Expected organization search filter\_value to contain a boolean. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_search_expected_boolean",
    "error_message": "Expected organization search filter_value to contain a boolean. Please see https://stytch.com/docs/b2b/api/search-organizations for request schema details and examples.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#organization_search_expected_boolean"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_expected\_string

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search expected string</strong></p>

    <p>Expected organization search filter\_value to contain a string. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_expected_string"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_filter\_name\_must\_be\_string

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search filter name must be string</strong></p>

    <p>Expected organization search operand filter\_name to be a string. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_filter_name_must_be_string"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_filter\_name\_not\_recognized

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search filter name not recognized</strong></p>

    <p>The organization search operand filter\_name was not recognized. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_filter_name_not_recognized"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_member\_email\_fuzzy\_too\_short

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search member email fuzzy too short</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_member_email_fuzzy_too_short"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_allowed\_domain\_fuzzy

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing allowed domain fuzzy</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_allowed_domain_fuzzy"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_allowed\_domains

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing allowed domains</strong></p>

    <p>Expected allowed\_domains to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_allowed_domains"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_claimed\_email\_domains

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing claimed email domains</strong></p>

    <p>Expected claimed\_email\_domains to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_search_missing_claimed_email_domains",
    "error_message": "Expected claimed_email_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/api-reference/b2b/api/errors/400#organization_search_missing_claimed_email_domains"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_filter\_name

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing filter name</strong></p>

    <p>Expected organization search operand to contain a filter\_name key. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_filter_name"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_filter\_value

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing filter value</strong></p>

    <p>Expected organization search operand to contain a filter\_value key. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_filter_value"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_has\_active\_sso\_connection

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing has active sso connection</strong></p>

    <p>Expected has\_active\_sso\_connection to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_search_missing_has_active_sso_connection",
    "error_message": "Expected has_active_sso_connection 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/api-reference/b2b/api/errors/400#organization_search_missing_has_active_sso_connection"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_member\_email\_fuzzy

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing member email fuzzy</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_member_email_fuzzy"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_member\_emails

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing member emails</strong></p>

    <p>Expected member\_emails to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_member_emails"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_organization\_ids

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing organization ids</strong></p>

    <p>Expected organization\_ids to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_organization_ids"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_organization\_name\_fuzzy

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing organization name fuzzy</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_organization_name_fuzzy"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_organization\_slug\_fuzzy

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing organization slug fuzzy</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_organization_slug_fuzzy"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_organization\_slugs

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing organization slugs</strong></p>

    <p>Expected organization\_slugs to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_missing_organization_slugs"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_missing\_sso\_connection\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search missing sso connection id</strong></p>

    <p>Expected sso\_connection\_id to be passed in the search request but it was not. Please see [https://stytch.com/docs/b2b/api/search-organizations](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_search_missing_sso_connection_id",
    "error_message": "Expected sso_connection_id 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/api-reference/b2b/api/errors/400#organization_search_missing_sso_connection_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_organization\_name\_fuzzy\_too\_short

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search organization name fuzzy too short</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_organization_name_fuzzy_too_short"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_search\_organization\_slug\_fuzzy\_too\_short

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization search organization slug fuzzy too short</strong></p>

    <p>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](https://stytch.com/docs/b2b/api/search-organizations) for request schema details and examples.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_search_organization_slug_fuzzy_too_short"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_settings\_claimed\_domain\_too\_common

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization settings claimed domain too common</strong></p>

    <p>Common domains such as gmail.com are not allowed as claimed domains.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_settings_claimed_domain_too_common",
    "error_message": "Common domains such as gmail.com are not allowed as claimed domains.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#organization_settings_claimed_domain_too_common"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_settings\_disposable\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization settings disposable domain</strong></p>

    <p>Disposable domains are not allowed as allowed domains.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_settings_disposable_domain",
    "error_message": "Disposable domains are not allowed as allowed domains.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#organization_settings_disposable_domain"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_settings\_domain\_too\_common

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization settings domain too common</strong></p>

    <p>Common domains such as gmail.com are not allowed as allowed domains.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_settings_domain_too_common"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_settings\_duplicate\_claimed\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization settings duplicate claimed domain</strong></p>

    <p>Please ensure that there are no duplicate domains in the claimed\_email\_domains list.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_settings_duplicate_claimed_domain",
    "error_message": "Please ensure that there are no duplicate domains in the claimed_email_domains list.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#organization_settings_duplicate_claimed_domain"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_settings\_duplicate\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization settings duplicate domain</strong></p>

    <p>Please ensure that there are no duplicate domains in the allowed\_domains list.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_settings_duplicate_domain"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_settings\_invalid\_claimed\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization settings invalid claimed domain</strong></p>

    <p>Please ensure that all values in claimed\_email\_domains are valid domains.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_settings_invalid_claimed_domain",
    "error_message": "Please ensure that all values in claimed_email_domains are valid domains.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#organization_settings_invalid_claimed_domain"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_settings\_invalid\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization settings invalid domain</strong></p>

    <p>Please ensure that all values in allowed\_domains are valid domains.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_settings_invalid_domain"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## organization\_slug\_already\_used

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Organization slug already used</strong></p>

    <p>The provided organization\_slug is already used in another organization.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#organization_slug_already_used"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## password\_already\_exists

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Password already exists</strong></p>

    <p>User already has a password associated with it. Please use the <a href="/docs/api/password-email-reset-start">password reset endpoint</a> to update the password if needed.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "password_already_exists",
    "error_message": "email already has a password associated with it.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#password_already_exists"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## password\_does\_not\_match

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Password does not match</strong></p>

    <p>email already has a password associated with it which does not match the one provided here.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "password_does_not_match",
    "error_message": "email already has a password associated with it which does not match the one provided here.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#password_does_not_match"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## password\_validation\_timeout

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Password validation timeout</strong></p>

    <p>Password validation timed out. Possible causes include an excessively long password or a high volume of requests.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "password_validation_timeout",
    "error_message": "Password validation timed out. Possible causes include an excessively long password or a high volume of requests.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#password_validation_timeout"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## passwords\_incompatible\_with\_sdk\_config

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Passwords incompatible with sdk config</strong></p>

    <p>The passwords product is incompatible with opaque errors in the project SDK configuration. Please change the configuration in the dashboard to continue: [https://stytch.com/dashboard/sdk-configuration](https://stytch.com/dashboard/sdk-configuration).</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "passwords_incompatible_with_sdk_config",
    "error_message": "The passwords product is incompatible with opaque errors in the project SDK configuration. Please change the configuration in the dashboard to continue: https://stytch.com/dashboard/sdk-configuration.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#passwords_incompatible_with_sdk_config"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## pbkdf\_2\_key\_length\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Pbkdf 2 key length mismatch</strong></p>

    <p>The provided PBKDF-2 key\_length does not match the length of the decoded hash.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "pbkdf_2_key_length_mismatch",
    "error_message": "The provided PBKDF-2 key_length does not match the length of the decoded hash.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#pbkdf_2_key_length_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## pending\_totp\_exists

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Pending totp exists</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "pending_totp_exists",
    "error_message": "Cannot create a new TOTP for the specified user since the user has a pending TOTP that has not yet expired. Please try creating a new TOTP for the user once the pending one has expired or delete the pending TOTP before attempting to create a new one.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#pending_totp_exists"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## pkce\_did\_not\_expect\_code\_verifier

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Pkce did not expect code verifier</strong></p>

    <p>This flow was started without a code\_challenge but the authentication call includes a code\_verifier.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "pkce_did_not_expect_code_verifier",
    "error_message": "This flow was started without a code_challenge but the authentication call includes a code_verifier.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#pkce_did_not_expect_code_verifier"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## pkce\_expected\_code\_verifier

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Pkce expected code verifier</strong></p>

    <p>This flow was started using a code\_challenge but the authentication call is missing the corresponding code\_verifier.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "pkce_expected_code_verifier",
    "error_message": "This flow was started using a code_challenge but the authentication call is missing the corresponding code_verifier.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#pkce_expected_code_verifier"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## pkce\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Pkce mismatch</strong></p>

    <p>The submitted code\_verifier does not match the code\_challenge sent at the start of the flow.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "pkce_mismatch",
    "error_message": "The submitted code_verifier does not match the code_challenge sent at the start of the flow.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#pkce_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## pkce\_required\_for\_idp\_authorization\_flow

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Pkce required for idp authorization flow</strong></p>

    <p>Stytch requires native or mobile applications, as well as public clients, to use PKCE for all flows involving redirects. Please supply a code\_challenge with the request.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "pkce_required_for_idp_authorization_flow",
    "error_message": "Stytch requires native or mobile applications, as well as public clients, to use PKCE for all flows involving redirects. Please supply a code_challenge with the request.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#pkce_required_for_idp_authorization_flow"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## pkce\_required\_for\_native\_callback

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Pkce required for native callback</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "pkce_required_for_native_callback",
    "error_message": "One of the callback URLs supplied is for a native or mobile application. Stytch requires native or mobile applications to use PKCE for all flows involving redirects. Please supply a code_challenge with the request.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#pkce_required_for_native_callback"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## private\_key\_too\_long

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Private key too long</strong></p>

    <p>Private key is too long. Please make sure you have the correct value.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## project\_has\_no\_public\_tokens

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Project has no public tokens</strong></p>

    <p>Project has no public\_tokens. Please create one in the Dashboard at [https://stytch.com/dashboard/api-keys](https://stytch.com/dashboard/api-keys).</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "project_has_no_public_tokens",
    "error_message": "Project has no public_tokens. Please create one in the Dashboard at https://stytch.com/dashboard/api-keys.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#project_has_no_public_tokens"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## public\_connected\_apps\_do\_not\_have\_secrets

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Public connected apps do not have secrets</strong></p>

    <p>Public Connected Apps do not have secrets.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "public_connected_apps_do_not_have_secrets",
    "error_message": "Public Connected Apps do not have secrets.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#public_connected_apps_do_not_have_secrets"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## public\_key\_missing

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Public key missing</strong></p>

    <p>Public key missing from request</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "public_key_missing",
    "error_message": "Public key missing from request",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#public_key_missing"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## public\_token\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Public token required</strong></p>

    <p>public\_token is required.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "public_token_required",
    "error_message": "public_token is required.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#public_token_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## query\_params\_do\_not\_match

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Query params do not match</strong></p>

    <p>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 <a href="/dashboard/redirect-urls">here</a> to make any necessary updates. For more information on why this validation is necessary please read more <a href="/docs/api/url-validation">here</a>.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "query_params_do_not_match",
    "error_message": "The redirect url in the request provided query parameters that did not match any redirect URLs set on the Stytch dashboard for this project. Please visit https://stytch.com/dashboard/redirect-urls to make any necessary updates. For more information on why this validation is necessary please visit https://stytch.com/docs/api/url-validation",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#query_params_do_not_match"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_action\_duplicate

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac action duplicate</strong></p>

    <p>There is a duplicate action in your RBAC policy. Please remove it. Actions are case insensitive.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_action_duplicate",
    "error_message": "There is a duplicate action in your RBAC policy. Please remove it. Actions are case insensitive.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_action_duplicate"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_action\_too\_long

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac action too long</strong></p>

    <p>The action name provided was too long. Actions must be less than 100 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_action_too_long",
    "error_message": "The action name provided was too long. Actions must be less than 100 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_action_too_long"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_cannot\_delete\_attribute\_used\_in\_org\_policy

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac cannot delete attribute used in org policy</strong></p>

    <p>The resource or action being deleted is being used in a custom role permission in an Organization's RBAC policy. Remove the attribute from the relevant Organization RBAC policies before removing it from the Project RBAC policy.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_cannot_delete_attribute_used_in_org_policy",
    "error_message": "The resource or action being deleted is being used in a custom role permission in an Organization's RBAC policy. Remove the attribute from the relevant Organization RBAC policies before removing it from the Project RBAC policy.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_cannot_delete_attribute_used_in_org_policy"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_description\_too\_long

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac description too long</strong></p>

    <p>The description provided was too long. Descriptions must be less than 500 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_description_too_long",
    "error_message": "The description provided was too long. Descriptions must be less than 500 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_description_too_long"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_domain\_too\_common

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac domain too common</strong></p>

    <p>Common domains such as gmail.com are not allowed in rbac\_email\_implicit\_role\_assignments.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_domain_too_common",
    "error_message": "Common domains such as gmail.com are not allowed in rbac_email_implicit_role_assignments.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_domain_too_common"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_invalid\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac invalid domain</strong></p>

    <p>Please ensure that all domains in rbac\_email\_implicit\_role\_assignments are valid domains.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_invalid_domain",
    "error_message": "Please ensure that all domains in rbac_email_implicit_role_assignments are valid domains.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_invalid_domain"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_org\_custom\_roles\_only

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac org custom roles only</strong></p>

    <p>Organization RBAC policies are only allowed to set custom roles. Resources, actions, and scopes must be created on the Project's RBAC policy.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_org_custom_roles_only",
    "error_message": "Organization RBAC policies are only allowed to set custom roles. Resources, actions, and scopes must be created on the Project's RBAC policy.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_org_custom_roles_only"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_permission\_missing\_actions

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac permission missing actions</strong></p>

    <p>All permissions must have at least one action.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_permission_missing_actions",
    "error_message": "All permissions must have at least one action.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_permission_missing_actions"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_reserved\_scope

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac reserved scope</strong></p>

    <p>There is a reserved scope in your RBAC policy. Please remove it. Reserved scopes include 'openid', 'profile', 'email', 'phone', 'offline\_access', 'full\_access'.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_reserved_scope",
    "error_message": "There is a reserved scope in your RBAC policy. Please remove it. Reserved scopes include 'openid', 'profile', 'email', 'phone', 'offline_access', 'full_access'.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_reserved_scope"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_resource\_duplicate

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac resource duplicate</strong></p>

    <p>There is a duplicate resource ID in your RBAC policy. Please remove it. Resource IDs are case insensitive.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_resource_duplicate",
    "error_message": "There is a duplicate resource ID in your RBAC policy. Please remove it. Resource IDs are case insensitive.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_resource_duplicate"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_resource\_id\_too\_long

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac resource id too long</strong></p>

    <p>The resource\_id provided was too long. Resource IDs must be less than 100 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_resource_id_too_long",
    "error_message": "The resource_id provided was too long. Resource IDs must be less than 100 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_resource_id_too_long"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_resource\_missing\_actions

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac resource missing actions</strong></p>

    <p>All resources must have at least one action.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_resource_missing_actions",
    "error_message": "All resources must have at least one action.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_resource_missing_actions"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_role\_duplicate

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac role duplicate</strong></p>

    <p>There is a duplicate role ID in your RBAC policy. Please remove it. Role IDs are case insensitive.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_role_duplicate",
    "error_message": "There is a duplicate role ID in your RBAC policy. Please remove it. Role IDs are case insensitive.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_role_duplicate"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_role\_id\_too\_long

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac role id too long</strong></p>

    <p>The role\_id provided was too long. Role IDs must be less than 100 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_role_id_too_long",
    "error_message": "The role_id provided was too long. Role IDs must be less than 100 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_role_id_too_long"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_role\_missing\_permissions

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac role missing permissions</strong></p>

    <p>All roles must have at least one permission.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_role_missing_permissions",
    "error_message": "All roles must have at least one permission.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_role_missing_permissions"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_scope\_duplicate

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac scope duplicate</strong></p>

    <p>There is a duplicate scope in your RBAC policy. Please remove it. Scopes are case insensitive.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_scope_duplicate",
    "error_message": "There is a duplicate scope in your RBAC policy. Please remove it. Scopes are case insensitive.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_scope_duplicate"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_scope\_missing\_permissions

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac scope missing permissions</strong></p>

    <p>All scopes must have at least one permission.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_scope_missing_permissions",
    "error_message": "All scopes must have at least one permission.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_scope_missing_permissions"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## rbac\_scope\_too\_long

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Rbac scope too long</strong></p>

    <p>The scope provided was too long. Scopes must be less than 100 characters.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "rbac_scope_too_long",
    "error_message": "The scope provided was too long. Scopes must be less than 100 characters.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#rbac_scope_too_long"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## reactivation\_email\_belongs\_to\_another\_member

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Reactivation email belongs to another member</strong></p>

    <p>The email that belongs to the intended member for reactivation is in use by another member within the organization.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "reactivation_email_belongs_to_another_member",
    "error_message": "The email that belongs to the intended member for reactivation is in use by another member within the organization.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#reactivation_email_belongs_to_another_member"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## recovery\_code\_used\_as\_totp\_code

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Recovery code used as totp code</strong></p>

    <p>The totp\_code submitted was invalid. Based on the format of the submitted value it looks like a recovery\_code was entered instead. To authenticate a recovery code please use the /v1/totps/recover endpoint. You can read more here: [https://stytch.com/docs/api/totp-recover](https://stytch.com/docs/api/totp-recover).</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "recovery_code_used_as_totp_code",
    "error_message": "The totp_code submitted was invalid. Based on the format of the submitted value it looks like a recovery_code was entered instead. To authenticate a recovery code please use the /v1/totps/recover endpoint. You can read more here: https://stytch.com/docs/api/totp-recover.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#recovery_code_used_as_totp_code"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## redirect\_url\_cannot\_use\_protocol

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Redirect url cannot use protocol</strong></p>

    <p>Redirect URLs are not allowed to use this protocol. Please use a different protocol for your native application. If you believe this to be in error, please contact [support@stytch.com](mailto:support@stytch.com) for assistance.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "redirect_url_cannot_use_protocol",
    "error_message": "Redirect URLs are not allowed to use this protocol. Please use a different protocol for your native application. If you believe this to be in error, please contact support@stytch.com for assistance.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#redirect_url_cannot_use_protocol"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## redirect\_url\_must\_use\_https

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Redirect url must use https</strong></p>

    <p>Redirect URLs for web applications must use HTTPS unless redirecting to localhost. Please change the protocol to HTTPS.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "redirect_url_must_use_https",
    "error_message": "Redirect URLs for web applications must use HTTPS unless redirecting to localhost. Please change the protocol to HTTPS.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#redirect_url_must_use_https"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## redirect\_url\_with\_query\_param\_placeholder\_cannot\_be\_default

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Redirect url with query param placeholder cannot be default</strong></p>

    <p>Redirect URLs with query param placeholders ({}) cannot be set as a default redirect URL.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "redirect_url_with_query_param_placeholder_cannot_be_default",
    "error_message": "Redirect URLs with query param placeholders ({}) cannot be set as a default redirect URL.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#redirect_url_with_query_param_placeholder_cannot_be_default"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## redirect\_url\_with\_wildcard\_cannot\_be\_default

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Redirect url with wildcard cannot be default</strong></p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## required\_custom\_email\_domain

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Required custom email domain</strong></p>

    <p>a custom email domain is required for custom html emails.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "required_custom_email_domain",
    "error_message": "a custom email domain is required for custom html emails.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#required_custom_email_domain"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## requires\_active\_sso\_connection

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Requires active sso connection</strong></p>

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

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#requires_active_sso_connection"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## reserved\_claims\_in\_custom\_claims

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Reserved claims in custom claims</strong></p>

    <p>Cannot use a reserved claim as one of your custom claims.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "reserved_claims_in_custom_claims",
    "error_message": "Cannot use a reserved claim as one of your custom claims.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#reserved_claims_in_custom_claims"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## reset\_password

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Reset password</strong></p>

    <p>User must reset their password through the <a href="/docs/api/password-email-reset-start">password reset endpoint</a>. 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.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "reset_password",
    "error_message": "user must reset their password",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#reset_password"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## retired\_email\_missing\_email\_identifiers

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Retired email missing email identifiers</strong></p>

    <p>You must provide one of email\_id or email\_address in the request.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "retired_email_missing_email_identifiers",
    "error_message": "You must provide one of email_id or email_address in the request.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#retired_email_missing_email_identifiers"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## retired\_member\_email

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Retired member email</strong></p>

    <p>This email has been deactivated in response to a change from an upstream identity provider or due to updating a member's email address. Please contact your IT Admin for assistance.</p>
  </div>

  ```js theme={null}
  {
    "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 or due to updating a member's email address. Please contact your IT Admin for assistance.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#retired_member_email"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_certificate\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml certificate mismatch</strong></p>

    <p>The signature in the SAML response is incorrect. The certificate contained in the response did not match the certificate registered for this connection.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#saml_certificate_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_connection\_attribute\_mapping\_missing\_groups\_key

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml connection attribute mapping missing groups key</strong></p>

    <p>You may not add group implicit role assignments to your SAML connection until there is a 'groups' key in the connection's attribute mapping.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "saml_connection_attribute_mapping_missing_groups_key",
    "error_message": "You may not add group implicit role assignments to your SAML connection until there is a 'groups' key in the connection's attribute mapping.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#saml_connection_attribute_mapping_missing_groups_key"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_connection\_attribute\_mapping\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml connection attribute mapping required</strong></p>

    <p>SAML connections need an attribute mapping before going into active status</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#saml_connection_attribute_mapping_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_connection\_email\_mapping\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml connection email mapping required</strong></p>

    <p>SAML Connection attribute mapping is missing the 'email' field</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#saml_connection_email_mapping_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_connection\_idp\_sso\_url\_invalid\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml connection idp sso url invalid format</strong></p>

    <p>The idp\_sso\_url provided in the request body is invalid. Please check to make sure the format is correct.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#saml_connection_idp_sso_url_invalid_format"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_connection\_idp\_sso\_url\_not\_https

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml connection idp sso url not https</strong></p>

    <p>The idp\_sso\_url provided in the request body does not use HTTPS.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#saml_connection_idp_sso_url_not_https"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_connection\_idp\_sso\_url\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml connection idp sso url required</strong></p>

    <p>SAML connections need an idp\_sso\_url before going into active status</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#saml_connection_idp_sso_url_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_connection\_metadata\_invalid\_format

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml connection metadata invalid format</strong></p>

    <p>Could not successfully parse the metadata URL supplied</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "saml_connection_metadata_invalid_format",
    "error_message": "Could not successfully parse the metadata URL supplied",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#saml_connection_metadata_invalid_format"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_connection\_name\_mapping\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml connection name mapping required</strong></p>

    <p>SAML Connection attribute mapping is missing either the 'full\_name' or both the 'first\_name' and 'last\_name' fields</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#saml_connection_name_mapping_required"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_connection\_no\_nested\_keys\_in\_attribute\_mapping

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml connection no nested keys in attribute mapping</strong></p>

    <p>SAML Connection attribute mapping cannot have nested mappings</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "saml_connection_no_nested_keys_in_attribute_mapping",
    "error_message": "SAML Connection attribute mapping cannot have nested mappings",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#saml_connection_no_nested_keys_in_attribute_mapping"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_csrf\_cookie\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml csrf cookie mismatch</strong></p>

    <p>SAML POST callback failed anti-CSRF cookie detection. Please try again.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "saml_csrf_cookie_mismatch",
    "error_message": "SAML POST callback failed anti-CSRF cookie detection. Please try again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#saml_csrf_cookie_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_group\_role\_assignment\_does\_not\_contain\_member\_group

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml group role assignment does not contain member group</strong></p>

    <p>SAML group role assignment requires a member group.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#saml_group_role_assignment_does_not_contain_member_group"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_idp\_initiated\_auth\_disabled

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml idp initiated auth disabled</strong></p>

    <p>IDP initiated auth attempted when IDP initiated auth is not enabled for this connection.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "saml_idp_initiated_auth_disabled",
    "error_message": "IDP initiated auth attempted when IDP initiated auth is not enabled for this connection.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#saml_idp_initiated_auth_disabled"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_signing\_private\_key\_format\_not\_supported

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml signing private key format not supported</strong></p>

    <p>signing\_private\_key format not supported, we only support PKCS#1 private keys.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "saml_signing_private_key_format_not_supported",
    "error_message": "signing_private_key format not supported, we only support PKCS#1 private keys.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#saml_signing_private_key_format_not_supported"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## saml\_signing\_private\_key\_invalid

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Saml signing private key invalid</strong></p>

    <p>signing\_private\_key format invalid, please ensure you're passing in a valid PKCS#1 private key.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "saml_signing_private_key_invalid",
    "error_message": "signing_private_key format invalid, please ensure you're passing in a valid PKCS#1 private key.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#saml_signing_private_key_invalid"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## scim\_connection\_not\_rotating\_token

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Scim connection not rotating token</strong></p>

    <p>Bearer token rotation has not been started for this connection. Please start a token rotation flow before calling this endpoint.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "scim_connection_not_rotating_token",
    "error_message": "Bearer token rotation has not been started for this connection. Please start a token rotation flow before calling this endpoint.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#scim_connection_not_rotating_token"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## scim\_group\_role\_assignment\_does\_not\_contain\_group\_id

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Scim group role assignment does not contain group id</strong></p>

    <p>SCIM group role assignment requires a group id.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "scim_group_role_assignment_does_not_contain_group_id",
    "error_message": "SCIM group role assignment requires a group id.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#scim_group_role_assignment_does_not_contain_group_id"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## scim\_group\_role\_assignment\_group\_does\_not\_exist

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Scim group role assignment group does not exist</strong></p>

    <p>SCIM group role assignment contains group ID that does not exist in the organization.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "scim_group_role_assignment_group_does_not_exist",
    "error_message": "SCIM group role assignment contains group ID that does not exist in the organization.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#scim_group_role_assignment_group_does_not_exist"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## scrypt\_key\_length\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Scrypt key length mismatch</strong></p>

    <p>The key\_length value doesn't match the length of the provided hash.</p>
  </div>

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

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## search\_invalid\_status\_filter

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Search invalid status filter</strong></p>

    <p>status should be set to 'active', 'pending', 'invited', or 'deleted'.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "search_invalid_status_filter",
    "error_message": "status should be set to 'active', 'pending', 'invited', or 'deleted'.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#search_invalid_status_filter"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## search\_timeout

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Search timeout</strong></p>

    <p>Search timed out. Please try using a more specific search query</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "search_timeout",
    "error_message": "Search timed out. Please try using a more specific search query",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#search_timeout"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## secondary\_factor\_not\_found

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Secondary factor not found</strong></p>

    <p>If you wish to attach a new MFA factor to a member who already has an active MFA factor, you must pass in a session token or session JWT with a valid secondary factor.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "secondary_factor_not_found",
    "error_message": "If you wish to attach a new MFA factor to a member who already has an active MFA factor, you must pass in a session token or session JWT with a valid secondary factor.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#secondary_factor_not_found"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## session\_must\_have\_at\_least\_one\_active\_factor

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Session must have at least one active factor</strong></p>

    <p>The provided session has no active factors and has been revoked.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "session_must_have_at_least_one_active_factor",
    "error_message": "The provided session has no active factors and has been revoked.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#session_must_have_at_least_one_active_factor"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## session\_not\_mutable

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Session not mutable</strong></p>

    <p>Attempting to extend or add a factor to an immutable session. The session is considered immutable due to it containing an immutable auth factor.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "session_not_mutable",
    "error_message": "Attempting to extend or add a factor to an immutable session. The session is considered immutable due to it containing an immutable auth factor.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#session_not_mutable"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## signature\_is\_incorrect\_size

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Signature is incorrect size</strong></p>

    <p>The signature is the incorrect size in bytes.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "signature_is_incorrect_size",
    "error_message": "The signature is the incorrect size in bytes.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#signature_is_incorrect_size"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## signature\_missing

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Signature missing</strong></p>

    <p>Signature missing from request</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "signature_missing",
    "error_message": "Signature missing from request",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#signature_missing"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## sso\_connection\_custom\_domain\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Sso connection custom domain mismatch</strong></p>

    <p>Unable to resolve disparities between the HTTP request's Host, the SSO Connection's custom domain (if set), and any active CNAME records for the project. Please ensure a valid domain is being used to initiate the SSO flow.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "sso_connection_custom_domain_mismatch",
    "error_message": "Unable to resolve disparities between the HTTP request's Host, the SSO Connection's custom domain (if set), and any active CNAME records for the project. Please ensure a valid domain is being used to initiate the SSO flow.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#sso_connection_custom_domain_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## sso\_connection\_organization\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Sso connection organization mismatch</strong></p>

    <p>The SAML Connection requested exists, but belongs to a different organization.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#sso_connection_organization_mismatch"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## sso\_discovery\_incompatible\_with\_sdk\_config

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Sso discovery incompatible with sdk config</strong></p>

    <p>The SSO discovery product is incompatible with opaque errors in the project SDK configuration. Please change the configuration in the dashboard to continue: [https://stytch.com/dashboard/sdk-configuration](https://stytch.com/dashboard/sdk-configuration).</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "sso_discovery_incompatible_with_sdk_config",
    "error_message": "The SSO discovery product is incompatible with opaque errors in the project SDK configuration. Please change the configuration in the dashboard to continue: https://stytch.com/dashboard/sdk-configuration.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#sso_discovery_incompatible_with_sdk_config"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## sso\_multiple\_connections\_found

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Sso multiple connections found</strong></p>

    <p>Multiple matching connections found for the given issuer. For the SSO gateway callback, issuers must uniquely map to a single connection.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "sso_multiple_connections_found",
    "error_message": "Multiple matching connections found for the given issuer. For the SSO gateway callback, issuers must uniquely map to a single connection.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#sso_multiple_connections_found"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## sso\_verification\_key\_not\_found

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Sso verification key not found</strong></p>

    <p>The verification certificate could not be found. Please pass in a valid, active verification certificate.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#sso_verification_key_not_found"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## stytch\_claims\_in\_custom\_claims

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Stytch claims in custom claims</strong></p>

    <p>Cannot use [https://stytch.com/session](https://stytch.com/session) as a custom claim.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "stytch_claims_in_custom_claims",
    "error_message": "Cannot use https://stytch.com/session as a custom claim.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#stytch_claims_in_custom_claims"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## test\_id\_used\_in\_live\_environment

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Test id used in live environment</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "test_id_used_in_live_environment",
    "error_message": "Invalid argument sent to Live environment. Looks like you supplied a Test identifier inside a request for the Live environment (api.stytch.com). Try sending the request to test.stytch.com instead or using a different identifier.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#test_id_used_in_live_environment"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## third\_party\_clients\_cannot\_use\_full\_access

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Third party clients cannot use full access</strong></p>

    <p>The Full Access scope can only be granted to First Party clients.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "third_party_clients_cannot_use_full_access",
    "error_message": "The Full Access scope can only be granted to First Party clients.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#third_party_clients_cannot_use_full_access"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## third\_party\_clients\_require\_consent\_for\_offline\_access

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Third party clients require consent for offline access</strong></p>

    <p>Offline Access consent can only be bypassed by First Party clients.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "third_party_clients_require_consent_for_offline_access",
    "error_message": "Offline Access consent can only be bypassed by First Party clients.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#third_party_clients_require_consent_for_offline_access"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## token\_missing\_organization\_id\_claim

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Token missing organization id claim</strong></p>

    <p>Token does not contain organization\_id claim</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "token_missing_organization_id_claim",
    "error_message": "Token does not contain organization_id claim",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#token_missing_organization_id_claim"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_connected\_apps

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many connected apps</strong></p>

    <p>Too many clients have been created for this project</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_connected_apps",
    "error_message": "Too many clients have been created for this project",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_connected_apps"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_domains

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many domains</strong></p>

    <p>Maximum number of domains exceeded. Can only have a maximum of 100.</p>
  </div>

  ```js theme={null}
  {
    "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 100.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_domains"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_email\_templates

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many email templates</strong></p>

    <p>You have reached the maximum number of email templates for this project. Please delete an email template before creating a new one.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_email_templates",
    "error_message": "You have reached the maximum number of email templates for this project. Please delete an email template before creating a new one.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_email_templates"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_encryption\_certificates

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many encryption certificates</strong></p>

    <p>The provided connection\_id has reached the maximum allowed encryption certificates. The maximum is 5. Please delete a certificate before adding a new one.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_encryption_certificates",
    "error_message": "The provided connection_id has reached the maximum allowed encryption certificates. The maximum is 5. Please delete a certificate before adding a new one.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_encryption_certificates"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_m2m\_client\_scopes

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many m2m client scopes</strong></p>

    <p>Too many scopes were attached to the client. A maximum of 1000 scopes is allowed.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_m2m_client_scopes",
    "error_message": "Too many scopes were attached to the client. A maximum of 1000 scopes is allowed.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_m2m_client_scopes"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_oauth\_organization\_locators

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many oauth organization locators</strong></p>

    <p>Please pass in at most one of organization\_id or slug query parameter to indicate which organization to use for login.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#too_many_oauth_organization_locators"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_pem\_files\_for\_trusted\_token\_profile

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many pem files for trusted token profile</strong></p>

    <p>This trusted token profile has too many PEM files. Please remove one to add more.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_pem_files_for_trusted_token_profile",
    "error_message": "This trusted token profile has too many PEM files. Please remove one to add more.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_pem_files_for_trusted_token_profile"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_projects

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many projects</strong></p>

    <p>You have reached the maximum number of projects for your workspace. Please delete a project before creating a new one.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_projects",
    "error_message": "You have reached the maximum number of projects for your workspace. Please delete a project before creating a new one.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_projects"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_public\_tokens

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many public tokens</strong></p>

    <p>You have reached the maximum number of public tokens for this project. Please delete a public token before creating a new one.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_public_tokens",
    "error_message": "You have reached the maximum number of public tokens for this project. Please delete a public token before creating a new one.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_public_tokens"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_redirect\_urls

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many redirect urls</strong></p>

    <p>You have reached the maximum number of redirect URLs for this project. Please delete a redirect URL before creating a new one.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_redirect_urls",
    "error_message": "You have reached the maximum number of redirect URLs for this project. Please delete a redirect URL before creating a new one.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_redirect_urls"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_roles

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many roles</strong></p>

    <p>RBAC policies contain too many roles.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_roles",
    "error_message": "RBAC policies contain too many roles.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_roles"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_secrets

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many secrets</strong></p>

    <p>You have reached the maximum number of secrets for this project. Please delete a secret before creating a new one.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_secrets",
    "error_message": "You have reached the maximum number of secrets for this project. Please delete a secret before creating a new one.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_secrets"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_session\_arguments

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many session arguments</strong></p>

    <p>Please include at most one of session\_token, session\_jwt, or intermediate\_session\_token in an authenticate request, not multiple.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_session_arguments",
    "error_message": "Please include at most one of session_token, session_jwt, or intermediate_session_token in an authenticate request, not multiple.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_session_arguments"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_session\_revoke\_arguments

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many session revoke arguments</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_session_revoke_arguments",
    "error_message": "Please ensure only one of the following is passed: session_id, session_token, session_jwt, or a member_id (if the project is a B2B project). Exactly one of those values is required to revoke a session.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_session_revoke_arguments"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_sso\_connection\_locators

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many sso connection locators</strong></p>

    <p>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.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#too_many_sso_connection_locators"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_sso\_connections

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many sso connections</strong></p>

    <p>The provided organization\_id has reached the maximum allowed SSO connections. The maximum is 5 SSO connections per protocol.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#too_many_sso_connections"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_sso\_verification\_certificates

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many sso verification certificates</strong></p>

    <p>The provided connection\_id has reached the maximum allowed verification certificates. The maximum is 5. Please delete a certificate before updating a new one.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#too_many_sso_verification_certificates"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## too\_many\_trusted\_token\_profiles\_for\_project

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Too many trusted token profiles for project</strong></p>

    <p>This project has too many trusted token profiles. Please remove one to add more.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "too_many_trusted_token_profiles_for_project",
    "error_message": "This project has too many trusted token profiles. Please remove one to add more.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#too_many_trusted_token_profiles_for_project"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## totp\_code\_used\_as\_recovery\_code

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Totp code used as recovery code</strong></p>

    <p>The recovery\_code submitted was invalid. Based on the format of the submitted value it looks like a totp\_code was entered instead. To authenticate a totp code please use the /v1/totps/authenticate endpoint. You can read more here: [https://stytch.com/docs/api/totp-authenticate](https://stytch.com/docs/api/totp-authenticate).</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "totp_code_used_as_recovery_code",
    "error_message": "The recovery_code submitted was invalid. Based on the format of the submitted value it looks like a totp_code was entered instead. To authenticate a totp code please use the /v1/totps/authenticate endpoint. You can read more here: https://stytch.com/docs/api/totp-authenticate.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#totp_code_used_as_recovery_code"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## trusted\_token\_profile\_cannot\_have\_multiple\_external\_ids

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Trusted token profile cannot have multiple external ids</strong></p>

    <p>Trusted token profile attribute mapping cannot multiple external ID attribute mappings.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "trusted_token_profile_cannot_have_multiple_external_ids",
    "error_message": "Trusted token profile attribute mapping cannot multiple external ID attribute mappings.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#trusted_token_profile_cannot_have_multiple_external_ids"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## trusted\_token\_profile\_incorrect\_external\_id\_mapping

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Trusted token profile incorrect external id mapping</strong></p>

    <p>Trusted token profile has the wrong external ID attribute mapping for this project vertical.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "trusted_token_profile_incorrect_external_id_mapping",
    "error_message": "Trusted token profile has the wrong external ID attribute mapping for this project vertical.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#trusted_token_profile_incorrect_external_id_mapping"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## trusted\_token\_profile\_invalid\_request

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Trusted token profile invalid request</strong></p>

    <p>Trusted token profile is missing a required field.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "trusted_token_profile_invalid_request",
    "error_message": "Trusted token profile is missing a required field.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#trusted_token_profile_invalid_request"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unable\_to\_authorize\_oauth\_provider

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unable to authorize oauth provider</strong></p>

    <p>Unable to authorize request to this OAuth provider. Please check the client ID and secret of your OAuth configuration.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unable_to_authorize_oauth_provider",
    "error_message": "Unable to authorize request to this OAuth provider. Please check the client ID and secret of your OAuth configuration.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unable_to_authorize_oauth_provider"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unable\_to\_delete\_email\_suppression

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unable to delete email suppression</strong></p>

    <p>The messaging server returned a non-positive response while trying to delete this suppression.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unable_to_delete_email_suppression",
    "error_message": "The messaging server returned a non-positive response while trying to delete this suppression.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unable_to_delete_email_suppression"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unable\_to\_delete\_last\_public\_token

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unable to delete last public token</strong></p>

    <p>Cannot delete the last public\_token for a project. Please create another public\_token before deleting this one.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unable_to_delete_last_public_token",
    "error_message": "Cannot delete the last public_token for a project. Please create another public_token before deleting this one.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unable_to_delete_last_public_token"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unable\_to\_parse\_session\_jwt

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unable to parse session jwt</strong></p>

    <p>Unable to parse session JWT</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unable_to_parse_session_jwt",
    "error_message": "Unable to parse session JWT",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unable_to_parse_session_jwt"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unable\_to\_refresh\_oauth\_token

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unable to refresh oauth token</strong></p>

    <p>Unable to refresh OAuth token. The token may have expired, or the user may have revoked access to the application. Please authorize the application again.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unable_to_refresh_oauth_token",
    "error_message": "Unable to refresh OAuth token. The token may have expired, or the user may have revoked access to the application. Please authorize the application again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unable_to_refresh_oauth_token"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unable\_to\_refresh\_oidc\_token

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unable to refresh oidc token</strong></p>

    <p>Unable to refresh OIDC token. The token may have expired, or the user may have revoked access to the application. Please authorize the application again.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unable_to_refresh_oidc_token",
    "error_message": "Unable to refresh OIDC token. The token may have expired, or the user may have revoked access to the application. Please authorize the application again.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unable_to_refresh_oidc_token"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unable\_to\_register\_webauthn\_registration

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unable to register webauthn registration</strong></p>

    <p>The WebAuthn registration could not be registered.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unable_to_register_webauthn_registration",
    "error_message": "The WebAuthn registration could not be registered.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unable_to_register_webauthn_registration"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unable\_to\_represent\_custom\_claims\_json

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unable to represent custom claims json</strong></p>

    <p>Unable to represent custom claims as a JSON map.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unable_to_represent_custom_claims_json",
    "error_message": "Unable to represent custom claims as a JSON map.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unable_to_represent_custom_claims_json"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unauthorized\_client

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unauthorized client</strong></p>

    <p>Please check that the `client_id` and `client_secret` are correct, and that the client exists and is active.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unauthorized_client",
    "error_message": "Please check that the `client_id` and `client_secret` are correct, and that the client exists and is active.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unauthorized_client"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unsolicited\_oidc\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unsolicited oidc response</strong></p>

    <p>We do not recognize the state in the OIDC response.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#unsolicited_oidc_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unsolicited\_saml\_response

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unsolicited saml response</strong></p>

    <p>We do not recognize the InResponseTo ID in the SAML response.</p>
  </div>

  ```js theme={null}
  {
    "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/api-reference/b2b/api/errors/400#unsolicited_saml_response"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unsubscribed\_phone\_number

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unsubscribed phone number</strong></p>

    <p>User has unsubscribed. User must resubscribe by texting 'START' before messages can be sent.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unsubscribed_phone_number",
    "error_message": "User has unsubscribed. User must resubscribe by texting 'START' before messages can be sent.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unsubscribed_phone_number"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## unsupported\_grant\_type

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Unsupported grant type</strong></p>

    <p>Unsupported grant type. Note that the `grant_type` parameter must be equal to `client_credentials` in order for the request to succeed.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "unsupported_grant_type",
    "error_message": "Unsupported grant type. Note that the `grant_type` parameter must be equal to `client_credentials` in order for the request to succeed.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#unsupported_grant_type"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## weak\_password

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Weak password</strong></p>

    <p>Password doesn't meet the API's strength requirements. A password's strength could be tested with the <a href="/docs/api/password-strength-check">password strength check endpoint</a>.</p>

    <Heading noAnchor={true} level={3}>Common Causes</Heading>

    <ul>
      <li>The password does not meet the complexity requirements established by <a href="https://github.com/dropbox/zxcvbn">zxcvbn</a> or <a href="https://stytch.com/blog/strong-passwords/">luds</a>.</li>
    </ul>

    <Heading noAnchor={true} level={3}>Troubleshooting</Heading>

    <ul>
      <li>Use the <a href="/docs/api/password-strength-check">password strength check endpoint</a> endpoint to get actionable feedback on improving the strength of the password string. This feedback can be passed on to the end user via your UI.</li>
    </ul>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "weak_password",
    "error_message": "password doesn't meet our strength requirements.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#weak_password"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## wrong\_stack\_live

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Wrong stack live</strong></p>

    <p>Wrong endpoint, try hitting test.stytch.com instead.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "wrong_stack_live",
    "error_message": "Wrong endpoint, try hitting test.stytch.com instead.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#wrong_stack_live"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## wrong\_stack\_test

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Wrong stack test</strong></p>

    <p>Wrong endpoint, try hitting api.stytch.com instead.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "wrong_stack_test",
    "error_message": "Wrong endpoint, try hitting api.stytch.com instead.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#wrong_stack_test"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***

## xml\_validation\_saml\_unknown\_error

<Columns cols={2}>
  <div>
    <p><Badge color="red">400</Badge> <strong>Xml validation saml unknown error</strong></p>

    <p>Unable to validate SAML Response.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 400,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "xml_validation_saml_unknown_error",
    "error_message": "Unable to validate SAML Response.",
    "error_url": "https://stytch.com/docs/api-reference/b2b/api/errors/400#xml_validation_saml_unknown_error"
  }
  ```
</Columns>

<Heading noAnchor={true} level={3}>Need help?</Heading>

<Columns cols={2}>
  <Card title="Send us an email" icon="mail" horizontal href="mailto:support@stytch.com" />

  <Card title="Contact us on slack" icon="slack" horizontal href={PUBLIC_SLACK_INVITE_URL} />
</Columns>

***
