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

# 403

> Reference for Stytch API Forbidden errors

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

## captcha\_required

<Columns cols={2}>
  <div>
    <p><Badge color="red">403</Badge> <strong>Captcha required</strong></p>

    <p>Captcha required</p>
  </div>

  ```js theme={null}
  {
    "status_code": 403,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "captcha_required",
    "error_message": "Captcha required",
    "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/403#captcha_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>

***

## consumer\_session\_authorization\_error

<Columns cols={2}>
  <div>
    <p><Badge color="red">403</Badge> <strong>Consumer session authorization error</strong></p>

    <p>The User is not authorized to perform the requested action on that resource.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 403,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "consumer_session_authorization_error",
    "error_message": "The User is not authorized to perform the requested action on that resource.",
    "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/403#consumer_session_authorization_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>

***

## email\_in\_denylist

<Columns cols={2}>
  <div>
    <p><Badge color="red">403</Badge> <strong>Email in denylist</strong></p>

    <p>The request's associated email is included in your email or email domain denylist.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 403,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "email_in_denylist",
    "error_message": "The request's associated email is included in your email or email domain denylist.",
    "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/403#email_in_denylist"
  }
  ```
</Columns>

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

<Columns cols={2}>
  <Card title="Send us an 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\_not\_in\_allowlist

<Columns cols={2}>
  <div>
    <p><Badge color="red">403</Badge> <strong>Email not in allowlist</strong></p>

    <p>The request's associated email is not included in your email or email domain allowlist.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 403,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "email_not_in_allowlist",
    "error_message": "The request's associated email is not included in your email or email domain allowlist.",
    "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/403#email_not_in_allowlist"
  }
  ```
</Columns>

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

<Columns cols={2}>
  <Card title="Send us an 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\_suspended

<Columns cols={2}>
  <div>
    <p><Badge color="red">403</Badge> <strong>Organization suspended</strong></p>

    <p>Your organization has been suspended. Please contact [support@stytch.com](mailto:support@stytch.com) for assistance.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 403,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "organization_suspended",
    "error_message": "Your organization has been suspended. Please contact support@stytch.com for assistance.",
    "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/403#organization_suspended"
  }
  ```
</Columns>

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

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

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

***

## twitter\_403

<Columns cols={2}>
  <div>
    <p><Badge color="red">403</Badge> <strong>Twitter 403</strong></p>

    <p>Twitter responded with a 403 Forbidden error.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 403,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "twitter_403",
    "error_message": "Twitter responded with a 403 Forbidden error.",
    "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/403#twitter_403"
  }
  ```
</Columns>

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

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

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

***

## use\_https

<Columns cols={2}>
  <div>
    <p><Badge color="red">403</Badge> <strong>Use https</strong></p>

    <p>Please use https instead of http.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 403,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "use_https",
    "error_message": "Please use https instead of http.",
    "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/403#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>

***

## user\_id\_mismatch

<Columns cols={2}>
  <div>
    <p><Badge color="red">403</Badge> <strong>User id mismatch</strong></p>

    <p>The user\_id provided in the OAuth Start request did not match the user associated with the OAuth callback.</p>
  </div>

  ```js theme={null}
  {
    "status_code": 403,
    "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
    "error_type": "user_id_mismatch",
    "error_message": "The user_id provided in the OAuth Start request did not match the user associated with the OAuth callback.",
    "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/403#user_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>

***
