Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Upload via SFTP fails with code 404, but file IS uploaded



I monitoring a folder in a sharepoint document libaray. On creation of a file, I wnt to upload it via sftp.

Step 1 (trigger) completes without error. Step 2 (CREATE FILE of sftp connector) says it cannot find the file to upload and fails with error 404.


But if I look onto the sftp directory itself, there it is...


What am I missing here?


Cheers, jefe



Community Support
Community Support

Re: Upload via SFTP fails with code 404, but file IS uploaded

Hi @jefe_,


Error code 404 means that the action of the flow doesn’t function as expected. You may need to correct the problem inside the flow definition, please try to update the flow then Resubmit to try the run again with the updated configuration.


Besides, the error message says that the file or folder doesn’t exist. Please make sure you have connected to SFTP server correctly.


Please take this doc on troubleshooting a flow for a reference:



Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Super User Program Update

Three Super User rank tiers have been launched!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (7,419)