Logic Apps execute a SP withing a forEach and get "Rate limit is exceeded. Try again in X seconds." when run manually. error 429

Fredy Marin Flores 0 Reputation points
2024-04-04T14:05:02.3+00:00

Hi all,

I have a logic app that basically has 4 ForEach activities and each one is really simple, executes a SP activity withing this forEach and the number of elements that the forEach is processing is from 500 to 50k SP's to be executed in SQL Server and the last forEach actity fails due to 429 error, I've already increased the concurrency value:

"runtimeConfiguration": {
    "concurrency": {
      "repetitions": 50
    }
  }

and once I run the webhook activy from ADF pipelines fails with an InternalServer error, is there something else that I need to check?

Thanks in advance.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,543 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,625 questions
SQL Server | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 33,071 Reputation points Volunteer Moderator
    2024-04-09T15:02:40.15+00:00

    As the message states, your issue is related to Logic Apps throttling since I understood that you are exceeding the throughput limits of Logic Apps.

    You can identify this by looking under the Metrics tab in Azure portal with Action Throttled and Trigger Throttled events.

    Modifying the retry policy Time Interval is can be an option to fix this issue.

    https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/api-limits

    Check the workarounds here :

    https://medium.com/@derek_li/logic-apps-and-throttling-8096362dfb1a

    0 comments No comments

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.