Showing results for 
Search instead for 
Did you mean: 
Not applicable

Power Automate - Create file with On-premise gateway - Error


I have just set up an on-premise gateway, and I am trying to dynamically create a file in a folder on my local file system:


The file is a simple XML file, that I want Power Automate to create:














It gives me this error:

"status": 404,

"message": "There is no file with name 'testerupload.xml' located in '[...]In\\LightWebShipment' on your file system. Verify the file exists or create it before trying to access it.\r\nclientRequestId: c41c2480-e9a7-4337-a6ad-84f18147372b", 


I don't understand the error. I am trying to create a file, therefore it cannot exist beforehand. And I am not trying to access it, but merely create it. 



Super User
Super User

Hi @Anonymous 


Yes that error is misleading and not the appropriate error we are expecting. I did setup a new on-prem connection and created the file successfully. Please check your credentials are correct or not.  You could test this by adding Get File using path action so that you can manually select the files from the folder. This way you can make sure that on-prem connection is working correctly.




Let me know how it goes.




Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up

Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Community Support
Community Support

Hi @Anonymous,


I have tested on my side but not find the same issue:

Annotation 2020-01-13 174951.png

 Please check the validation of connection and gateway, and you can also close the Flow and then reopen it, or check the destination folder whether exist a file with the same name.

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.


Join us at PWR EduCon - A Power Platform Conference

Learn from the top Power BI, Power Apps, Power Automate & Power Virtual Agents experts!

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Users online (3,238)