How to overcome error 429 and prevent it from happening

Hodaya A 25 Reputation points
2023-01-11T07:55:56.51+00:00

How to overcome error 429 and prevent it from happening?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,551 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tasadduq Burney 8,956 Reputation points MVP Volunteer Moderator
    2023-01-11T08:03:21.93+00:00

    In Azure Logic Apps, you can handle and prevent error code 429 (rate limiting) in a few ways:

    1. Add a delay action: You can add a delay action in your Logic App workflow, to slow down the rate of requests being sent to the service. This can help to prevent exceeding the rate limit.
    2. Use the "do-until" loop: You can use a "do-until" loop to retry a failed request, with a condition to check if the error code is 429, and delay the retry for a specified amount of time, before retrying the request again.
    3. Add a request-response action: You can add a request-response action, to check the rate limit remaining, prior to making the request. And based on the remaining limit, you can choose to proceed with the request or delay it.
    4. Using the "Request-Response" action to check the limits and handle the error code 429.
    5. Use the "Throttling" action available in Logic App, this action allows you to specify a limit for the number of requests that can be made to the service per minute or per hour.
    6. Use the "Throttling protection" feature in Azure Logic Apps. This feature is used to control the number of concurrent requests that can be made to a service, by adding a "Throttling protection" action to your workflow, you can set a limit on the number of concurrent requests that can be made.
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.