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 / Cloud Connector call f...
Power Automate
Unanswered

Cloud Connector call failed

(1) ShareShare
ReportReport
Posted on by 41

Hello,

 

I am writing a flow to download a file from SharePoint to local computer and in my for each loop, I am getting Cloud connector call failed status code 'NotFound'.   I think I found the issue but dont know how to fix it,  This is my list folder action:

 

Patrick_Perea_0-1719946633036.png

There is only one file but this variable is coming up first so when I go through my for each loop it errors out at get file content.

 

Patrick_Perea_1-1719946760304.png

Is there any way that this one does not appear.  Here is the 2nd variable that is coming back correct. 

Patrick_Perea_2-1719946878456.png

 

I have the same question (0)
  • Patrick_Perea Profile Picture
    41 on at

    last thing to add the flow setup

     

    Patrick_Perea_0-1719947238438.png

     

  • eetuRobo Profile Picture
    4,579 Super User 2026 Season 1 on at

    How does your Get file content using path -action look like? What parameter do you use from the currentItem -variable? Try using %CurrentItem['Path']% in the Get file content using path -action File Path field.

    Also if it will always return only one file and you know that then you could remove the For each -loop and just use variable from List folder and refer to the first item %ListFolderResponse[0]['Path']%
    Like so:

    eetuRobo_0-1719948233905.png

     

  • Patrick_Perea Profile Picture
    41 on at

    This is my get file using content 

     

    Patrick_Perea_0-1719948577063.png

     

  • Patrick_Perea Profile Picture
    41 on at

    My folder metadata and list folder 

     

    folder is /folder name

     

    Patrick_Perea_3-1719948803311.png

     

     

    Patrick_Perea_2-1719948721307.png

     

  • eetuRobo Profile Picture
    4,579 Super User 2026 Season 1 on at

    Oh now I think I understand. I read you opening post again. Since the first one is not a file but a folder it will give an error in the first loop.

    eetuRobo_1-1719949130313.png

    You want to use Get file content using path -action only to an item that is not a folder but a file. So .IsFolder needs to be False.


    So add a condition that checks that the current item is not folder with IsFolder parameter.

    eetuRobo_2-1719982413936.png

    EDIT: 

    fixed if statement: If %CurrentItem['Folder']% = %True% then Next loop

    eetuRobo_0-1719977241504.png

    eetuRobo_1-1719977294214.png

     

     

  • Patrick_Perea Profile Picture
    41 on at

    Does that work with a document library in sharepoint?

     

  • eetuRobo Profile Picture
    4,579 Super User 2026 Season 1 on at

    I haven't used that but I would assume so. The logic is that you cant read file content from a folder since there is no file to be read. You only want to use Read file content using path -action to an actual file and not folder or it will go to error. That's why you want to check before trying to read the file content that the current item is an actual file and not a folder.

  • Patrick_Perea Profile Picture
    41 on at

    I was able to get past the error but new issue, when I go through the flow no file is created

     

    Patrick_Perea_0-1719956417541.pngPatrick_Perea_1-1719956468280.png

    The get file by path variable comes back blank

    Patrick_Perea_2-1719956551541.png

     

  • eetuRobo Profile Picture
    4,579 Super User 2026 Season 1 on at

    Okay so GetFileContetntByPathResponse -variable is empty after you have run Get file content using path -action successfully for a file.
    It should look something like this:

    eetuRobo_2-1719978158561.png

    But for you it has no value?

    For troubleshooting I would test with only Get file content using path -action where you just take the file content without any variables. So find the file manually for it and run that one action and see if that returns anything. If it doesn't then maybe try a different file.

    When you run the flow make sure that it actually goes to those actions and doesn't go to Next loop in every instance. I changed the if statement a bit to make sure it checks the IsFolder value correctly:

    eetuRobo_0-1719982327893.pngeetuRobo_1-1719982335147.png

     

     

    I have had trouble with old excel format (.xls) when using Excel actions in Power Automate Cloud.

    Add a dummy excel that is in .xlsx format and try to use Get file content using path -action to that.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard