Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

HTTP 403 Forbidden error on API call

Hello,

 

to list the content of a users My Reports folder, we are using the following API call on an external web app, but some users receive an http 403 Forbidden error. So far I have not been able to find out which permissions exactly are needed to successfully make that request.

 

https://xxx/Reports/api/v2.0/Folders?$filter=Name%20eq%20%27My%20Reports%27

 

What permission do I need to grant users to resolve this error?

 

All the best

1 ACCEPTED SOLUTION
Anonymous
Not applicable

We were able to solve this by changing the URL to not use the API to find the users My Reports folder, but instead form it through string concatenation. Our working assumption is that the 'folders' endpoint requires Browser permissions on the root folder if no path parameter is given since it would then try to filter starting from root.

View solution in original post

2 REPLIES 2
d_gosbell
Super User
Super User

They should just need the "My Reports" permission. However I think the actual My Reports folder only gets created the first time the go the report portal so maybe the people getting this error have either not visited the portal or do not have the My Reports permission.

Anonymous
Not applicable

We were able to solve this by changing the URL to not use the API to find the users My Reports folder, but instead form it through string concatenation. Our working assumption is that the 'folders' endpoint requires Browser permissions on the root folder if no path parameter is given since it would then try to filter starting from root.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.