A common challenge when working with external APIs is rate limiting. APIs enforce request limits within a defined time window to protect their services. When an application exceeds those limits, the API actively returns errors. As a result, these errors can disrupt normal processing and negatively affect application reliability.
Description of the problem
APIs often implement rate limiting to enforce fair usage and to protect their services from excessive traffic. As a result, these limits prevent systems from becoming overwhelmed by too many requests. When a Logic App exceeds those limits, the API typically returns a 429 – Too Many Requests response. In addition, the response usually includes guidance on how long the workflow must wait before sending another request. If you don’t handle this behavior correctly, rate‑limiting errors can cause workflow failures and ultimately disrupt dependent services.
📝 One-Minute Brief
Rate limiting is a common mechanism used by APIs and cloud services to protect systems from overload, but it can easily lead to unexpected failures if not handled correctly. In this Friday Fact, I explain why rate‑limiting errors occur, how they impact application reliability, and why implementing proper handling strategies—such as retries, backoff policies, and throttling awareness—is crucial to building resilient and stable integration solutions.
How to resolve rate-limiting errors
You can implement two main strategies to handle rate-limiting errors:
- Adding delays between calls.
- And using retry policies.
Here’s how you can implement these solutions in Logic Apps.
Adding Delays Between Calls
Adding delays between your API calls can help ensure you stay within the allowed rate limits. Logic Apps provide a straightforward way to introduce delays using the Delay action.
Steps to add a delay:
- Insert a Delay Action: Add a Delay action from the Logic Apps designer after each API call action.

- Configure the Delay: Set the delay duration to an appropriate value based on the API’s rate limit specifications.

In this example, the delay is set to 1 hour, but you usually don’t need that much time. A couple of minutes or seconds is enough. So, you should adjust the duration according to the API’s rate-limiting requirements.
Using Retry Policies with Exponential Backoff
Retry policies with exponential backoff can automatically retry a failed API call after waiting for a progressively longer interval. This approach helps in handling errors and rate-limiting by spacing out retries.
Steps to implement retry policies:
- Configure Retry Policy: We can configure the retry policy accordingly in the settings of the action that calls the API.


- Set Retry Parameters: Define the maximum number of retry attempts and the interval between retries.

In this example:
- The Minimum Interval property is set to 10 seconds.
- The Maximum Interval property is set to 1 minute.
- The Interval property is set to 15 seconds.
- And the maximum retry Count property is set to 5.
The exponential type ensures that the interval between retries increases exponentially, reducing the likelihood of repeatedly hitting the rate limit.
Conclusion
Managing rate-limiting errors is crucial for maintaining the reliability of your applications that depend on external APIs. By adding delays between calls and using retry policies with exponential backoff, you can ensure that your Logic Apps stay within the API rate limits and handle the errors. Implementing these strategies will help improve the resilience and stability of your integrations.
To lazy to read? We’ve got you covered! Check out our video version of this content!
Hope you find this helpful! If you enjoyed the content or found it useful and wish to support our efforts to create more, you can contribute towards purchasing a Star Wars Lego for Sandro’s son!
Hope you have enjoyed this Friday Fact, and we will see you in the next one.