The threshold error is based on the throttling limit set on the number of API request per minute/day. The default limit is 5000 if the limit is crossed because flow carries number of tasks the threshold error appears. To fix this error:
1. Enable Concurrency control - To run number of instances in parallel. For example, in the screenshot below, I have set the degree to 1 which means that at any given time there will only be once instance of the flow running and all consecutive runs will be put on the wait list.
2. Enable Custom Retry Policy - In some cases, where single flow run instance create threshold error. Custom retry policy can be set that will wait for defined time before making a call to API. As shown in the screenshot below, I have modified the retry policy from default (4 retries) to 20 retries and each retry should wait for 60 seconds before making the API call. The number of retries and the interval can be customized as well.
