Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

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 Team
Community Support Team

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


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!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,648)