Http request Timeout with logic apps and Power BI connector

Ankita Panda 1 Reputation point
2021-03-04T11:15:34.473+00:00

I have created a logic apps to export paginated reports to excel using Power BI connector. There are few reports that more than 10MB in size, while running the logic apps it is failing with the below error - "error": { "code": "BadRequest", "message": "Http request failed: the server did not respond within the timeout limit. Please see logic app limits at https://aka.ms/logic-apps-limits-and-config#http-limits." } Any guidance on how to increase the timeout to resolve the error?

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

2 answers

Sort by: Most helpful
  1. Leo Erlandsson 1,656 Reputation points
    2021-03-04T12:02:47.467+00:00

    Hi,

    Please see the topic Timeouts on the page you posted a link to:

    Timeout duration
    Some connector operations make asynchronous calls or listen for webhook requests, so the timeout for these operations might be longer than these limits. For more information, see the technical details for the specific connector and also Workflow triggers and actions.

    TIMEOUT DURATION
    Name Logic Apps (multi-tenant) Logic Apps (preview) Integration service environment Notes
    Outbound request 120 seconds
    (2 minutes) 230 seconds
    (3.9 minutes) 240 seconds
    (4 minutes) Examples of outbound requests include calls made by the HTTP trigger or action. For more information about the preview version, see Azure Logic Apps Preview.
    Tip: For longer running operations, use an asynchronous polling pattern or an until loop. To work around timeout limits when you call another logic app that has a callable endpoint, you can use the built-in Azure Logic Apps action instead, which you can find in the connector picker under Built-in.

    Inbound request 120 seconds
    (2 minutes) 230 seconds
    (3.9 minutes) 240 seconds
    (4 minutes) Examples of inbound requests include calls received by the Request trigger, HTTP Webhook trigger, and HTTP Webhook action. For more information about the preview version, see Azure Logic Apps Preview.
    Note: For the original caller to get the response, all steps in the response must finish within the limit unless you call another logic app as a nested workflow. For more information, see Call, trigger, or nest logic apps.

    Br
    Leo


  2. JayaC-MSFT 5,526 Reputation points
    2021-03-09T07:44:44.033+00:00

    Hello @Ankita Panda for long running tasks you may refer to https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-create-api-app#action-patterns to check the patterns : polling and webhook-based and understand how this works. Also , you can set timeout for particular actions (if required)

    74909-image.png

    Please let me know if this helps!

    0 comments No comments