cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chris61
Level: Powered On

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
Level 10

Re: Get folder metadata using path - Sharepoint

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
Level 10

Re: Get folder metadata using path - Sharepoint

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 460 members 6,602 guests
Recent signins:
Please welcome our newest community members: