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

# 429

> Reference for Stytch API Too Many Requests errors

## captcha\_failed

429 **Captcha failed**

Captcha failed

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

Need help?

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

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

***

## too\_few\_tokens\_authenticated

429 **Too few tokens authenticated**

Too many requests without sufficient percentage of tokens authenticated.

```js theme={null}
{
  "status_code": 429,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_few_tokens_authenticated",
  "error_message": "Too many requests without sufficient percentage of tokens authenticated.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/429#too_few_tokens_authenticated"
}
```

Need help?

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

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

***

## too\_many\_requests

429 **Too many requests**

Too many requests hit the Stytch API too quickly. We rate limit suspicious user activity per user, email, or phone number separately from global project rate limits.

Common Causes

<ul>
  <li>Activity from a suspicious user is causing you to send a large number of requests to the Stytch API in a short period of time.</li>
  <li>A bug in your application or testing flow is causing you to unintentionally send a large number of requests to the Stytch API.</li>
  <li>You are attempting to complete testing flows that require a large number of requests to be made for the same email address or phone number.</li>
</ul>

Troubleshooting

<ul>
  <li>Implement an exponential backoff of your requests.</li>
  <li>Investigate any suspicious user activity on your end and take appropriate action, such as blocking the offending user.</li>
  <li>Check your codebase to make sure that you are not unintentionally sending more requests than necessary to the Stytch API.</li>
  <li>Use our Test environment and [sandbox values](https://stytch.com/docs#resources_testing) to complete testing flows.</li>
</ul>

```js theme={null}
{
  "status_code": 429,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "too_many_requests",
  "error_message": "Too many requests have been made.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/429#too_many_requests"
}
```

Need help?

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

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

***

## user\_lock\_limit\_reached

429 **User lock limit reached**

The user has been locked out due to too many failed authentication attempts. Please try again later.

```js theme={null}
{
  "status_code": 429,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "user_lock_limit_reached",
  "error_message": "The user has been locked out due to too many failed authentication attempts. Please try again later.",
  "error_url": "https://stytch.com/docs/api-reference/consumer/api/errors/429#user_lock_limit_reached"
}
```

Need help?

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

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

***
