web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTTP Request Failures ...
Power Automate
Suggested Answer

HTTP Request Failures in Power Automate Flow

(0) ShareShare
ReportReport
Posted on by

Hi,

I’ve built a flow in Power Automate that uses an HTTP request action and then sends the result to a Power Apps app using the "Respond to Power Apps or flow" action. The flow executes correctly when the HTTP request targets the test API web server, and the Power Apps application works as expected. However, when I change the request to point to the production web server, the flow fails only some times. It works well a few times and then collapses, wasting the 5 minutes of timeout

I’ve attached the flow’s execution log when the failure occurs.

When the same HTTP request is made via Postman, the response is always successful and very fast, even with multiple consecutive requests. So we can discard a priori network issues on that server, such as firewall restrictions. The issue only happens when the request is done by a Power Apps button and only on the production server (but not always).

Do you know what might be causing this? Does the HTTP request in Power Automate behave differently from Postman in any way?

Thank you!

Categories:
I have the same question (0)
  • Suggested answer
    Hamza Khalid Profile Picture
    77 on at

    The error you're seeing, "ActionResponseTimedOut," happens because Power Apps has a strict limit on how long it will wait for a response from a flow. Specifically, it only waits for 2 minutes. In your case, the HTTP step in your flow is taking about 5 minutes to complete, which is much longer than Power Apps allows. So even though the flow eventually finishes, Power Apps has already stopped waiting and throws a 504 Gateway Timeout error.

    To fix this, you have a few options depending on how critical it is to get a response immediately.

    1. Redesign the flow to run in the background:

    Instead of waiting for the HTTP request to finish, you can restructure your flow so it returns a response to Power Apps right away. Then let the rest of the flow run in the background. You can store the result somewhere like SharePoint or Dataverse, and either notify the user later or have them check the status separately.

    2. Try to speed up the HTTP request:

    If possible, look at the service you're calling in the HTTP step. See if there's any way to reduce the response time—maybe by optimizing the query, filtering the data earlier, or removing unnecessary steps.

    3. Use a child flow (if you have premium access):

    If your license includes premium connectors, you can break the long-running part into a separate child flow. That way, your main flow can return to Power Apps immediately and continue processing in the background.

    4. Move the long process to a Logic App:

    If you're working with long-running operations frequently, consider using an Azure Logic App. It can handle longer durations more easily than Power Automate when triggered from Power Apps.

    If this is just for testing, you could temporarily replace the HTTP action with a faster mock call just to confirm everything else works.

    This is a Power Apps limitation, not Power Automate. Even if the flow succeeds later, Power Apps times out at 2 minutes and cannot receive the result.

     

     

  • Suggested answer
    Tomac Profile Picture
    3,951 Moderator on at
    It looks like the problem is with the Power App that's calling the Flow. The Power App stopped listening for a response from your flow, so when the flow tries to provide a result it times out. I would begin my debugging process on Power App side.
     
    Note that the response from Hamza, below, is a copy/paste from chatgpt and is not providing insight or experience with this issue.
  • Building with Why Profile Picture
    351 Super User 2025 Season 2 on at
    The yellow checkmark on the HTTP request means the step was performed multiple times before it was successful.  Please show the expanded step of this so an actual solution to the problem can be tried.
     
    It sounds like you developed this in a Sandbox and exported it into Production.  How did you ensure the permissions for the HTTP request remained intact?
  • Vejai SH Profile Picture
    555 on at
    Hi,
     
    Try creating custom connector for your request!
     
    Thanks,
    Vejai SH

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard