Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48828

JavaScript API: Custom visuals not rendering

$
0
0

I'm having a problem rendering reports with custom visuals using the JavaScript API. The report is hosted in the Power BI service, rather than Power BI Embedded.

 

The rest of the report renders fine. Custom visuals however do not appear and I get a 401 error:

 pbierror1.png

 

 

 

 

 

 

I then open the same report from within in the Power BI service and then refresh it. Then when I return to my page with the embedded report, and refresh it, everything renders successfully.

 

Please could someone help?

 

Thanks

 

James


Viewing all articles
Browse latest Browse all 48828


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>