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

Community site session details

Session Id : IJos4TPm0i5f650D6Pz9U2
Power Automate - Using Flows
Unanswered

GatewayTimeout 504 SFTP - SSH Copy File

Like (0) ShareShare
ReportReport
Posted on 21 Aug 2023 04:50:05 by 2

I have a Power Automate flow setup since March 2023 which has been working flawlessly up until 10 days ago. I previously had a similar issue to this, created a whole new flow and that seemed to work but now I get nothing.

 

This particular flow triggers when a Blob storage has been added or modified then gets the content using path (V2) and onto Create a file using SFTP - SSH, screen shot below. 

Angusnido_0-1692682767619.png

This is where I am getting strange behaviour and hoping to get some opinions:

  1. Connection worked perfectly up until 10 or so days ago
  2. Flow will work successfully until SFTP - SSH Create file and then give me a 'GatewayTimeout' 

Angusnido_3-1692593281728.png

  1. I deleted the flow completely and the SFTP connection, created a new one in the event there was an issue, still no luck. 
  2. I can connect into the SFTP - SSH fine and select the folder within Power Automate as seen below. But when the flow triggers it just gives me a gateway timeout. - Why would this be the case?

Angusnido_1-1692592763286.png

 

Here is the outputs of the failed tries. 

Angusnido_2-1692592870826.png

 

To recap and things tested to date:

  • No issues connecting via FileZila and or any other SFTP client.
  • I can see the SFTP folders when creating the action within Power Automate (photo above) - this is particularly strange 
  • Microsoft IP Address have been whitelisted.
  • I added delays of 10, 30 and 40 seconds (this did not work).
  • Asynchronous Pattern enabled and tested disabled - no luck 
  • Timeout tested - No luck.

Has anyone in the Australia East region experienced this?

I have the same question (0)
  • Angusnido Profile Picture
    2 on 04 Sep 2023 at 05:34:38
    Re: GatewayTimeout 504 SFTP - SSH Copy File

    For anyone with a similar issue.... no explanation.. It magically started working again after 6-8 weeks. I assume this is an issue on Microsoft side as every other solution I used worked flawlessly. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 736 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 396 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 339

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow
Loading complete