cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Maharudra
Regular Visitor

How to handle 504 Gateway Timeout

Hi,

I have flow which have action "Respond to a PowerApp or flow", with this I am sending response to PowerApps application. In flow there are certain action like record deletion, record addition in SharePoint list. Due to multiple operations and record count around 100, flow fails with message "The execution of template action 'Respond to a PowerApp or flow' is failed: the client application timed out waiting for a response from service. This means that workflow took longer to respond than the allotted timeout value. The connection maintained between the client application and service will be closed and client application will get an HTTP status code 504 Gateway Timeout.". Due to timeout flow execution shows error but in backend actions are getting completed, last action is creation of record which is getting completed successfully but flow returns 504 Gateway Timeout. 

 

Please suggest solution 

1 REPLY 1
jinivthakkar
Super User
Super User

@Maharudra please try scope in flow : 

 

https://www.youtube.com/watch?v=NRMaeacPLzo

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,107)