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.

Issues in viewing powerbi reports embedded in my react application

I am getting the following error logged to my console when I try to view the reports embedded in my react app. I have implemented App Owns Data.

 

Cannot read property 'showVisualizationPane' of null
    at i.isVisualizationPaneVisible (reportembed.bundle.min.js:17)
    at fn (eval at compile (reportembed.externals.bundle.min.js:1444), <anonymous>:4:196)
    at m.$digest (reportembed.externals.bundle.min.js:1350)
    at reportEmbed.min.js:1
    at t.invoke (reportembed.externals.bundle.min.js:1198)
    at Object.onInvoke (reportEmbed.min.js:1)
    at t.invoke (reportembed.externals.bundle.min.js:1198)
    at r.run (reportembed.externals.bundle.min.js:1198)
    at e.run (reportEmbed.min.js:1)
    at reportEmbed.min.js:1
Status: New
Comments
v-qiuyu-msft
Community Support

Hi @opschain

 

Were you able to view embedded reports in this application before? 

Please view the same report in Power BI service to check if the same issue occurs. 

 

Best Regards,
Qiuyun Yu

 

 

opschain
Frequent Visitor

Yes, the reports do get rendered sometimes, and sometimes they don't. I see a "Sign In" button on the UI and in console I see https://wabi-us-west2-redirect.analysis.windows.net/metadata/cluster API failing with error code 403. The error message is "Token expired" but the token's expiry is actually 1 hr later.

The issue does not go away even if I refresh my tab multiple times.

Also, the same token works for reports opened in Chrome on a different system. On my system, when I restarted chrome, I could see reports using the same token. 

v-qiuyu-msft
Community Support

Hi @opschain

 

Please create a support ticket to let engineers look into the issue on your side. 

 

Support Ticket.gif

 

Best Regards,
Qiuyun Yu