Showing results for 
Search instead for 
Did you mean: 
New Member

How to fix gateway timeout error 504?

Hi All,


I am trying to run a recurring cloud flow that uses a single desktop flow step. When I run that flow it gives gateway timeout error 504. I have already been through the troubleshooting guidelines in the link below:


Can someone help me out?



Thank you,

Talha Khan


Hi @tkhan 

The 504 Gateway Timeout error that means that one server did not receive a timely response from another server that it was accessing while attempting to load the web page or fill another request by the browser.

You can refer to the link to fix 504 Error:

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.




504 Error.JPGHi Lily,


Thank you for posting this information. I tried the steps listed on the webpage but my automation's are still having gateway 504 issues. I am using On-Premises Data Gateway. I have tried running them on two computers but still getting the same issue. One of the automation was working a few weeks ago but is now giving Gateway 504 error. Is it possible that this error is coming from the backend of Power Automate?

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,733)