Showing results for 
Search instead for 
Did you mean: 
New Member

SFTP to SFTP Create File Error

Attempting a flow to 'Create File' in an SFTP subfolder when a file is added to root SFTP folder. 


I have successfully ran this flow using a small .txt file, but when a .zip file is added, the flow results in a 400 Error, "unknown error occurred". The result in the destination path is a .filepart file that looks to just be a corrupted text file. 

The file sizes are approx. 120KB, so it's not a file size error I don't believe. 


Other attempts include... copy file, get content and create file, extracting archive to folder, & so many more. All failed, even using PDF and other file types. 


Any suggestions?

Community Support
Community Support

Re: SFTP to SFTP Create File Error

Hi @mlrdavis,


Could you share a screenshot of your Flow configuration?

An error code of 400 appears a setting in an action of the flow doesn't function as expected.

Could you provide run details and error messages?

It would be helpful if you could post more details and we would provide a proper workaround for you.


Best Regards,


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

Re: SFTP to SFTP Create File Error

Here is the flow set up to extract the file from the .zip files that's added. 


 Flow Trigger.PNGFlow Result.PNG

Advocate IV
Advocate IV

Re: SFTP to SFTP Create File Error



I have a similar issue, I can transfer a pgp encrypted csv to a folder in the site. 

Successful transfer to a sub-folder in the siteSuccessful transfer to a sub-folder in the site

But as soon as I change the destination to the root folder, I get this error.
"status": 400,
"message": "An unknown error occurred.\r\nclientRequestId: 08a42fb4-a775-46c7-9d57-674512977e3f",
"source": ""
I can manually transfer the same file to the root folder using winscp using the exact same credentials, so it doesn't seem to be a permissions issue.
 Failed transfer to root folderFailed transfer to root folderFailed error messageFailed error message
Any ideas?

Helpful resources


Now Live: 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!

Top Solution Authors
Users online (9,671)