Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Bad Gateway when using Update File Transaction

(1) ShareShare
ReportReport
Posted on by
I have a process that picks up files with a specific file name from a sFTP folder and stores them in a Sharepoint list.
 
I then want to rename the files so that I don't pick them up again as Sharepoint will throw an error as I am trying to upload a duplicate file
 
I'm using the Update File action in Power Automate and I am getting a Bad Gateway error whenever it runs.  The entire process itself connects to that sFTP folder to pick up the files so I can't believe its a communication error.  The user connecting to the sFTP folder is the same one that creates them on the folder in the first place so that can't be an issue.
 
I've been thinking that the File parameter is wrong in the flow, however I've used various different parameters to identify the file and nothing is working.
 
Has anyone else tried to rename a file on a sFTP server? Is there a specific way to do so?  I can't see an explicit "rename" action, only an "update" one. 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard