i need to create a flow that copies a file from my local file system to an FTP server.
i've a gateway installed, and the flow works fine if i'm getting the file information and creating it in sharepoint (365).
however, when i replace the sharepoint connector with an FTP, I get the following error:
"message": "An invalid request was made. Inspect the passed parameters and actions.\r\nclientRequestId: 30979729-e60f-4631-aa18-deb2bea25149",
1- when a file is created (properties only)
2- get file content
3- create file on FTP
steps 1 and 2 work fine. it fails on step 3.
Could someone please help or advise what i might be doing wrong?
I can go the other way without issues: Ie, when a file is created on the FTP site, I can get its contents and create the file internally.
further to this, i am able to create a file on my FTP server, however only if I use dummy content.
I can use a file name using flow, however if i use file content, that's when the error occurs. i've tried both .docx files and .txt
any help will be greatly appreciated.
Further, i found an old post suggesting the same problem:
however, it doesn't appear as if though there are any solutions posted - aside from deleting the connector and creating it again (which I did, and was unfortunately of no help to my process.
Hi @ allitnils,
Could you please share a screenshot of the configuration of your flow?
The error code of 400 appears if a setting in an action of the flow doesn't function as expected.
The error message told that an invalid request was made,please inspect the passed parameters and actions,you'll need to click or tap the Edit button and then correct the problem inside the flow definition. Save the updated flow, and then click or tap Resubmit to try the run again with the updated configuration.
Please let me know if your issue could be solved.
Join us for the first ever Power Platform Online Conference!
Look out for new contribution recognition badges coming SOON!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!