Http action fails with timeout in logic apps

Ankita Panda 6 Reputation points
2021-03-05T17:23:32.84+00:00

I am calling Power BI Rest API from Logic Apps (using Http action) to export paginated reports to excel.

  1. POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/ExportTo
  2. GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/exports/{exportId}
  3. GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/exports/{exportId}/file

The 2nd API is success and returns the output as status 100% completed along with the resource location.

But the 3rd API call fails with error " Http request failed: the server did not respond within the timeout"

Any suggestion we can make the 3rd API increase timeout or make it asynchronous so that it does not fail within that 2mins timeout limit?

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

1 answer

Sort by: Most helpful
  1. Nasreen Akter 10,891 Reputation points Volunteer Moderator
    2021-03-05T17:38:24.837+00:00

    Hi @Ankita Panda ,

    yes, you can make HTTP call asynchronous and also you can increase timeout duration (please see the screenshots below). Hope this helps!

    74908-img20.jpg
    74869-img21.jpg

    ----------

    If the above response is helpful, please accept as answer and up-vote it. Thanks!


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.