Forum Discussion
"Content not available" error when integration Power BI report from user group
Hi all, I am integrating Power BI report in my own web app and need some help on this error.
- My reports published to user groups in app.powerbi.com
- I have granted access of my end users to this user group.
- I am loading these reports dynamically in my custom web application using Power BI JavaScript SDK.
- My server side code is accessing this endpoint to retrieve my report access token and other details https://api.powerbi.com/beta/myorg/groups/{group id}/reports
However, the report cannot be loaded. After user sigin their Power Bi account and grant acess to my web application, the Power BI splash screen appears. A few seconds later, it displays a "Content not available" error.
Note that I can retrieve report name, embedded url, access token etc. from Power BI API.
But if my user also sign in to app.powerbi.com in a diferent browser tab, the my web application can load the report correctly.
Why do they see the error message?
1 Reply
- v-haibl-msft
Microsoft Employee
Could you please try to change the base URL from https://api.powerbi.com/beta/myorg/groups/{group id}/reports to https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports?
I’ve found someone reported similar issue as yours. According to the fix information, it should already be fixed on 10/20.
Best Regards,
Herbert