Skip to main content
All CollectionsAPIHow to fix common issuesAPI Error Codes Explained
Error Code 429 - Rate limit reached for requests
Error Code 429 - Rate limit reached for requests

Handling error code 429 - Rate limit reached for requests

Updated over a week ago

This error message indicates that you have hit your assigned rate limit for the API. This means that you have submitted too many tokens or requests in a short period of time and have exceeded the number of requests allowed. This could happen for several reasons, such as:

  • You are using a loop or a script that makes frequent or concurrent requests.

  • You are sharing your API key with other users or applications.

Best practices for staying below your rate limit

  • Pace your requests and avoid making unnecessary or redundant calls.

  • If you are using a loop or a script, make sure to implement a backoff mechanism or a retry logic that respects the rate limit and the response headers. You can read more about our rate limiting policy and best practices here.

  • If you are sharing your organization with other users, note that limits are applied per organization and not per user. Check in with other users in your org to see how their usage could be contributing.

  • If you would like to increase your rate limits, please note that you can do so by increasing your usage tier. You can view your current rate limits, your current usage tier, and how to raise your usage tier/limits in the Limits section of your account settings.

Did this answer your question?