Share via

Can you decrease the timeout in an HTTP step in a logic app?

EJ Marmonti 166 Reputation points
2022-07-26T00:28:21.463+00:00

I'm struggling finding the documentation on this. From googling, it sounds like HTTP steps in logic apps have a 2 minute timeout. Is it possible to overwrite that and use a smaller timeout? For example 30 seconds.

If I click the 3 dots on this particular HTTP step, and select settings, I see this option:

224651-image.png

But I'm pretty sure that's not the option I need. Basically if this HTTP GET does not respond within 30 seconds, I want it to fail immediately.

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

2 answers

Sort by: Most helpful
  1. EJ Marmonti 166 Reputation points
    2022-08-04T13:11:16.197+00:00

    Just a follow-up to my initial question. I ended up moving my project over to a function app (powershell) to allow for more granular control.

    Was this answer helpful?


  2. Mike Urnun 9,792 Reputation points Moderator
    2022-07-26T00:58:32.173+00:00

    Hello @EJ Marmonti - Yes, the option shown in the screenshot above is for controlling the duration between Retries and isn't the right setting if you're looking to decrease the timeout duration for the initial request itself; and it doesn't seem possible to change this timeout of the HTTP connector if you're running on the Logic Apps Consumption SKU.

    However, if you're running on the Logic Apps Standard SKU instead, it is possible to change the timeout value by editing the following settings in the host.json file: https://learn.microsoft.com/en-us/azure/logic-apps/edit-app-settings-host-settings?tabs=visual-studio-code#http-operations

    For reference, the documentation where we discuss limitations in greater context & any supplemental information around them is as follows: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-limits-and-config?tabs=azure-portal#timeout-duration

    I hope this helps. Let me know if you have any further questions.

    -------------------------------------------------------------------------------

    Please consider contributing to MS Q&A by marking 'Accepted Answer' and ‘Upvoting’ as applicable.

    Was this answer helpful?

    0 comments No comments

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.