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.

Embedded error: Cannot read property 'contract' of null

Hello,

 

I'm using the powerbi-client to embed reports in a web application and some reports, on mobile layout, are failing to load with the error below. The iframe stays blank.

 

This is an intermittent error. Sometimes the same reports load correctly and sometimes they fail.

 

https://app.powerbi.com/13.0.8621.157/scripts/reportembed.externals.bundle.min.js

reportembed.externals.bundle.min.js:787 TypeError: Cannot read property 'contract' of null
    at r.updateActiveSection (powerbiportal.explore.bundle.min.js:47)
    at i.<anonymous> (reportembed.bundle.min.js:18)
    at r (reportembed.common.bundle.min.js:40)
    at Object.next (reportembed.common.bundle.min.js:40)
    at a (reportembed.common.bundle.min.js:40)
    at reportembed.externals.bundle.min.js:800
    at m.$digest (reportembed.externals.bundle.min.js:811)
    at m.$apply (reportembed.externals.bundle.min.js:814)
    at reportembed.externals.bundle.min.js:827
    at e (reportembed.externals.bundle.min.js:711)
Status: Needs Info
Comments
v-jiascu-msft
Employee

Hi @matoso,

 

It seems good in my test. 

1. Where did you test it? In the phone or on the browser?

2. Which version of Power BI client did you use?

3. There is an issue in https://powerbi.microsoft.com/en-us/support/. Could that be similar to yours?

 

Best Regards,

Dale

v-jiascu-msft
Employee
Status changed to: Needs Info
 
matoso
Regular Visitor

Hi, Dale. Thanks for the response.

 

1) It happens in both (Android phone with Chrome, desktop with Chrome, Safari and Firefox simulating a mobile device)

2) "powerbi-client": "2.7.1"

3) I din't find any open issue reporting the same problem.

 

Thanks,

 

v-jiascu-msft
Employee

Hi @matoso,

 

I would suggest you create a support ticket here for such intermittent issue.

create-ATicket

 

Best Regards,

Dale

dwilliamscmi
Regular Visitor

I am having the same issue. all my reports work with exception to one that contains key influencers chart. did you find a solution?

cmalantonio
Regular Visitor

I also have the same issue as of yesterday using powerbi-client 2.7.2.