question

AnkitaPanda-3022 avatar image
0 Votes"
AnkitaPanda-3022 asked ·

Http request Timeout with logic apps and Power BI connector

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
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeoErlandsson avatar image
0 Votes"
LeoErlandsson answered ·

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

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
I went through the timeout limit but if an action is a long running process (Ex: Http request is more than 2mins) and getting timeout as mentioned in the question, what is the suggested solution?
How can we increase the timeout ?

0 Votes 0 ·
JayaC-MSFT avatar image
0 Votes"
JayaC-MSFT answered ·

Hello @AnkitaPanda-3022 for long running tasks you may refer to https://docs.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!

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.