web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create File (Flow addi...
Power Automate
Unanswered

Create File (Flow adding slashes to my file name file path)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am working on a flow that saves 11 excel email attachments to a shared drive folder. I am getting irradicate results when I get to the 'create file' action of the flow. Sometimes the flow creates all the files I anticipate (11) and other times I'll be lucky to get half. No matter what the outcome, succesful (11 files) or failed (less than 11), I'm getting a fail/error at the create file action. It's a 400 error and from what it's showing, FLOW is duplicating the slashes of the file name file path and returning a false 'fail'.
 
Q: Does anyone know what causes the irradicate duplicative slashes in the file name file path?
 
Error Example
File name: c27a7a37-bc08-4ea0-ae94-69d563249325_Copy of MTDBOLsReceived.xlsx
 
The requested action could not be completed. Check your request parameters to make sure the path \\\\genericcompany.net\\BRZ_Shared\\GFS\\dfs\\Transportation\\P\\S drive\\BM\\AMC\\Current Month\\Attachments/c27a7a37-bc08-4ea0-ae94-69d563249325_Copy of MTDBOLsReceived.xlsx' exists on your file system.
 
But this is my file system file path:
\\genericcompany.net\BRZ_Shared\GFS\dfs\Transportation\P\S drive\BM\MC\Current Month\Attachments/c27a7a37-bc08-4ea0-ae94-69d563249325_Copy of MTDBOLsReceived.xlsx' exists on your file system.

Categories:
I have the same question (0)
  • rdonovan Profile Picture
    4 on at

    Did you ever find a resolution to this double slash issue? I am hitting the same thing.

  • LeeHarris Profile Picture
    1,026 on at

    Hi @rdonovan 

    If your file path is similar to the original one posted by @Anonymous the only thing that stands out to me is the mix of backslashes and forward slashes. Notice how the forward slash remained as single whilst all the others were doubled. It could be that the system is treating the backslash characters as part of the string and escaping them by replacing them with a double backslash.

    I am not able to confirm if this suspicion is correct but if this solves the problem for you please let me know.

     

  • rdonovan Profile Picture
    4 on at

    Thanks Lee, yeah that could be the case. 

    What's killing me is that the connection is good, and the path is selected through the UI. Pretty straight forward.

     

    The requested action could not be completed. Check your request parameters to make sure the path 'C:\Apps\Microsoft Dynamics\SL\Applications\Imports\Download\XML' exists on your file system.
    clientRequestId: 610c6616-4b53-4bb5-a226-da1889ce7eaf

     

    {

      "status": 400,

      "message": "The requested action could not be completed. Check your request parameters to make sure the path 'C:\\Apps\\Microsoft Dynamics\\SL\\Applications\\Imports\\Download\\XML' exists on your file system.\r\nclientRequestId: c267858a-1c6f-4e37-a50b-7e5322b38187",

      "error": {

        "message": "The requested action could not be completed. Check your request parameters to make sure the path 'C:\\Apps\\Microsoft Dynamics\\SL\\Applications\\Imports\\Download\\XML' exists on your file system."

      },

      "source": "filesystem-eus2.azconn-eus2-01.p.azurewebsites.net"

    }

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @rdonovan my connection was good as well. I ended up abandoning the project I was working on and chose a different product to automate with.

  • obadiahjohnson Profile Picture
    108 on at

    I also have this issue. I even tried creating a string variable consisting solely of a \ but the system keeps adding them. Does anyone have any ideas on how to correct this? Maybe \ need a special character in front of them?

  • obadiahjohnson Profile Picture
    108 on at

    For my issue, I found that my "connection" to the gateway wasn't set up correctly. I selected the ellipsis and selected "+Add new connection" and entered my name for the connection, default path, THIS TIME I correctly added my domain\username instead of just my username, my password, and then selected the gateway I created.  

    obadiahjohnson_0-1597698606049.png

    Once I did that, Power Automate no longer tried to "escape" the backslash character by adding a \\. 

     

    Please mark as solved if you would please. It certainly worked for me 🙂

  • ashishksi Profile Picture
    2 on at

    This error primarily occurs if the absolute path(Root Folder path provided in connection + path getting generated during file transfer) of the file to be transferred is more than 256 characters. If you limit the file path size this issue won't occur.

    Please mark as solved if you would please. It certainly worked for me!

  • ps1982 Profile Picture
    2 on at

    Not sure if it helps, but after much playing around and starting over again it turned out that I just needed to use domain/username when setting up the data gateway connection rather than username or email. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard