Azure Logic App Timeout Issues: 'The workflow action exceeded the allotted execution time'
I'm having trouble with I am experiencing timeout issues with my Azure Logic App that integrates with a REST API. The workflow action frequently fails with the behavior message 'The workflow action exceeded the allotted execution time'. I've set up the Logic App to execute a request to an external API for data fetching, which sometimes takes longer than the default timeout period. I have tried increasing the timeout settings by configuring the action properties, but the scenario continues. My Logic App uses the HTTP connector and is currently set to run on a recurrence trigger every hour. Hereβs the snippet of my Logic App definition: ```json { "definition": { "$schema": "https://schema.management.azure.com/schemas/2016-06-01/workflowdefinition.json#", "actions": { "HTTP": { "inputs": { "method": "GET", "uri": "https://api.example.com/data" }, "runAfter": {}, "metadata": {"timeout": "PT10M"}, "type": "Http" } }, "triggers": { "Recurrence": { "recurrence": { "frequency": "Hour", "interval": 1 }, "type": "Recurrence" } } } } ``` I've also checked the external API's response times, and they do vary significantly, sometimes taking up to 30 seconds to respond. Is there a way to handle these timeouts more gracefully in Azure Logic Apps? Should I consider adding a retry policy, or is there a better approach to handling long-running API calls? Any insights on best practices for optimizing Logic Apps in this scenario would be greatly appreciated. I'm working on a API that needs to handle this. I'm coming from a different tech stack and learning Json. Any ideas how to fix this?