Forum Discussion
Intermittent JS errors (Cannot read property 'call' of undefined) with embedding
- 6 years ago
Hi xli629b ,
Sorry for that, We cannot reproduce the issue here and also not found an effective solution. We suggest you to open a ticket here for help if you are a pro user: https://powerbi.microsoft.com/en-us/support/
Best regards,
After forcing it to load 13.0.11747.315/scripts/reportEmbed.js instead of 13.0.11747.315/scripts/reportEmbed.min.js, I saw that the error came from this line:
modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
It tried to load modules[747] and modules[759], which are not defined in the array.
So it seems this is a problem with async module loading, and some modules are not loaded yet when they are required. I saw this related discussion: https://github.com/webpack/webpack/issues/5429
This happens unpredictably, preventing the report from loading, which makes the embedded reports very unreliable. Any idea if the module loading can be fixed?
Hi xli629b ,
Sorry for that, We cannot reproduce the issue here and also not found an effective solution. We suggest you to open a ticket here for help if you are a pro user: https://powerbi.microsoft.com/en-us/support/
Best regards,