Handling 429 throttling problem in Azure Logic Apps across multiple runs
Published Nov 30 2022 06:51 AM 3,142 Views
Microsoft

Problem

You have a logic app that has a connector action that is failing with 429 – too many requests across multiple runs.

Cause

Having multiple logic app runs running at the same time and using the same connection.

Resolution

Distribute the action executions over two connections using the following steps:

  • Add a ControlSwitch action.
  • Set the Switch On value expression to rand(1,3), this will return either a value of 1 or 2 randomly.

talsaifi_0-1668341821168.png

  • Set the Case Equals to 1 to execute the action using the first connection Connection1.
  • Add an action inside the Case that uses Connection1.

talsaifi_1-1668341821177.png

  • Add another action inside the Default case that uses Connection2.

talsaifi_0-1669818557919.png

The final workflow will look as follows:

talsaifi_1-1668343322828.png

For other scenarios, check the following link: Handle throttling problems, or '429 - Too many requests' errors - Azure Logic Apps | Microsoft Learn

1 Comment
Co-Authors
Version history
Last update:
‎Nov 30 2022 06:49 AM
Updated by: