Skip to main content

captcha_failed

429 Captcha failed

Captcha failed

{
  "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/b2b/api/errors/429#captcha_failed"
}

Need help?


too_few_tokens_authenticated

429 Too few tokens authenticated

Too many requests without sufficient percentage of tokens authenticated.

{
  "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/b2b/api/errors/429#too_few_tokens_authenticated"
}

Need help?


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

  • 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.
  • A bug in your application or testing flow is causing you to unintentionally send a large number of requests to the Stytch API.
  • 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.

Troubleshooting

  • Implement an exponential backoff of your requests.
  • Investigate any suspicious user activity on your end and take appropriate action, such as blocking the offending user.
  • Check your codebase to make sure that you are not unintentionally sending more requests than necessary to the Stytch API.
  • Use our Test environment and sandbox values to complete testing flows.
{
  "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/b2b/api/errors/429#too_many_requests"
}

Need help?


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.

{
  "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/b2b/api/errors/429#user_lock_limit_reached"
}

Need help?