Skip to main content

Notifications

Power Automate - Using Connectors
Answered

"Error executing the API" on File System connection

(0) ShareShare
ReportReport
Posted on by 433

I'm trying to get a first step connection working with Flow using the File System.

- I created a top-level folder on my local machine (c:\testfolder) and dropped a couple of files into it.
- I created a connection called "local-test".
- For Root folder, I used \\mymachine\testfolder. I assume that my machine can be accessed through the company gateway.
- For Authentication type, I used Windows.
- For Username, I entered my domain\username. I have also tried the format username@domain.
- For Gateway, I used a gateway that I have successfully used from PowerApps, though I was connecting to SQL, not my local machine.

 

It seems that an error flashed (too quickly to read). When I go back in, it didn't save the username.

 

The result is that, when trying to select a folder in File System in an Instand Flow for "List files in folder", I get "Error executing the api".  I expect I set up the connection incorrectly, or the Gateway was set up incorrectly.

  • sj4 Profile Picture
    sj4 2 on at
    Re: "Error executing the API" on File System connection

    getting same error in azure file storge via Logic apps ,when selecting directory for creating files please help?

  • Verified answer
    akharns Profile Picture
    akharns 433 on at
    Re: "Error executing the API" on File System connection

    Thank you.   I had listed the domain incorrectly in the connection.

  • Verified answer
    Re: "Error executing the API" on File System connection

    Hi @akharns ,

     

    Yes, I afraid that there is any wrong for the connection or Gateway, please check the connection and Gateway.

     

    2.png 

     

    Best regards,

    Alice       

     

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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics