cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chris61
Helper II
Helper II

Get folder metadata using path - Sharepoint

I am building a Flow where I want to get file data from specific folders relating to a user's selection. I am passing a folder name to Flow and then using "Get folder metadata using path" - I have overcome issues where a space needs to be %20, the @ sign %40, full stops '.' need to be '-' etc. etc.

 

The path I have constructed works when you paste it in to a web browser but Flow is still returning the following error: 

 

{
"message": "Did not find the Folder : /xxx_asset/xxxxxx_D365%40xxxxxx-com%20-%2001-04-2019%2011-24_FBE119857C54E911A88500224800492F in Site : https://xxxxxx.sharepoint.com/sites/xxxxxx. Ensure that the Folder Exists\r\nclientRequestId: 89a07a90-c97f-4d94-ae66-72d2d01a06b6\r\nserviceRequestId: b4b8ce9e-2006-8000-080a-21bd013526b2",
"status": 404,
"errors": [
"-1",
"Microsoft.SharePoint.Client.UnknownError"
]
 
 
I have successfully had get file metadata using path working so I don't understand why this doesn't work.
1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Solution Sage
Solution Sage

Hi @chris61 ,

Could you please share a screenshot of your flow's configuration?

Please make sure the folder is exist in the SPO which you have enter in the 'File Path'.

And pay attention to the format of the path you have used in the 'File Path', make sure the it is end with folder name.

Capture16.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-zhos-msft
Solution Sage
Solution Sage

Hi @chris61 ,

Could you please share a screenshot of your flow's configuration?

Please make sure the folder is exist in the SPO which you have enter in the 'File Path'.

And pay attention to the format of the path you have used in the 'File Path', make sure the it is end with folder name.

Capture16.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,246)