cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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?

3 REPLIES 3
Highlighted
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,

Barry

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.
Highlighted
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

Highlighted
Advocate IV
Advocate IV

Re: SFTP to SFTP Create File Error

@v-bacao-msft

 

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": "sftpconnectionprovider-westus.tip0-westus.p.azurewebsites.net"
}
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

Announcements
firstImage

Now Live: Power Virtual Agents Community!

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

firstImage

New & Improved Power Automate Community Cookbook

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

thirdimage

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)