Power Automate – Create File action – resolving error – Error code: ‘400’, Message: ‘The requested action could not be completed. Check your request parameters to make sure the path ” exists on your file system.

Hi All,
Greetings for the day 🙂 LIFE IS BEAUTIFUL 🙂
Today new issue and solution 🙂
Background / Details :
- In our organization we have one request from one of our user for downloading the file from SharePoint online site document library to local machine (server)
- Since this is continuous process we need to automate this process and hence the Power Automate comes into the picture
- As we need to download the file on local machine / server we require On-premises data gateway
- Detailed article on On-premises data gateway is on its way 🙂 stay tuned 🙂
- We have successfully installed On-premises data gateway
- Started creating Power-automate
- We are using “Create File” action of Power-automate as
- To use this action we need to create / use connection to File System as shown in below figure
- We need to set following properties
- Authentication Type – Windows
- Username and Password

- When we click on “Create” button we are getting an error as shown in above figure
Error / Issue :
Error code: ‘400‘, Message: ‘The requested action could not be completed. Check your request parameters to make sure the path ” exists on your file system. clientRequestId: 764B8BD4-2C7A-41A6-826C-889611929224’. More diagnostic information: x-ms-client-request-id is ‘764B8BD4-2C7A-41A6-826C-889611929224’.
Solution :
- After bit googling it found that we didn’t specified domain while specifying Username
- As we specified domain for Username, it worked like charm. In our case – WORKGROUP\prasham as
- As we specified DOMAIN with Username, connection created successfully
- We are able to fetch folders from local file system as

- Selecting folder from local drive

Thanks for reading 🙂 HAVE A GREAT VACATIONS AHEAD 🙂
You must log in to post a comment.