Affected: REST API
Symptoms
When using the REST API, you may encounter the following error:
429 Too Many Requests
Cause
This error occurs because the API calls exceed the rate limits set for your account. These rate limits are in place to ensure that the LaunchDarkly service remains performant and reliable for all customers.
Solution
-
Adhere to rate limits: Program your API calls to adhere to the rate limit headers. Refer to the API documentation on rate limiting for more details.
-
Retry mechanism: Implement a retry mechanism in your API calls. When you receive a "429 Too Many Requests" response, your system should wait for the duration specified in the
Retry-After
header before retrying the request. -
Optimize API calls: Review and optimize the frequency and necessity of your API calls. Consolidate calls where possible to reduce the overall number of requests.
Additional Information
-
Rate Limits: The rate limits apply universally to all accounts. We do not adjust or publicly document specific rate limits. These limits are subject to change at any time.
-
No Exceptions: At this time, LaunchDarkly does not offer any API rate limit increases.
Resources