Logic App - HTTP POST Request timeout within an Until Container

WZIAFP 237 Reputation points
2022-12-22T09:37:30.36+00:00

I am making some http api calls within my logic app.
The HTTP request was failing after 2 minute timeout so I put it within an Unitl container with the condition to wait until status code returned was 200 (successful).
However the http request is still failing after 2 minutes. I have attempted to extend the http activity timeout beyond 2 minutes however I get met with an error, "The property 'limit' is not supported on a single primitive action inside 'until' scope."

How can i configure this to ignore the timeout and wait for server response.

Thanks

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2022-12-23T08:30:51.01+00:00

    @WZIAFP Thanks for reaching out. Looks like you have created the logic app under the Consumption SKU which has the limit of 120 sec as documented here.

    For longer running operations, use an asynchronous polling pattern or an "Until" loop. To work around timeout limits when you call another workflow that has a callable endpoint, you can use the built-in Azure Logic Apps action instead, which you can find in the designer's operation picker under Built-in.

    You will have two logic app one which will be http webhook calling your main HTTP request and the existing one which call your webhook with the until condition. Please refer to this for more details.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

Your answer

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