Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
hungvuong1003
Frequent Visitor

ES6 to javascript backwards compatible

When trying to load the embedded report in the Chrome version 44, I met this issue

 

reportEmbed:104 Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
reportEmbed:257 Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
reportEmbed:478 Uncaught ReferenceError: uid is not defined
reportEmbed:488 Uncaught ReferenceError: powerbi is not defined

...

reportEmbed.min.js:1 ERROR ReferenceError: clusterUri is not defined
at Object.t [as createReportEmbedTelemetryHostService] (https://app.powerbi.com/13.0.7149.169/scripts/reportembed.bundle.min.js:29:20684)
at Object.<anonymous> (https://app.powerbi.com/13.0.7149.169/scripts/reportembed.bundle.min.js:28:5742)
at Object.invoke (https://app.powerbi.com/13.0.7149.169/scripts/reportembed.externals.bundle.min.js:561:390)
at Object.$get (https://app.powerbi.com/13.0.7149.169/scripts/reportembed.externals.bundle.min.js:559:3)
at Object.invoke (https://app.powerbi.com/13.0.7149.169/scripts/reportembed.externals.bundle.min.js:561:390)
at https://app.powerbi.com/13.0.7149.169/scripts/reportembed.externals.bundle.min.js:563:158
at d (https://app.powerbi.com/13.0.7149.169/scripts/reportembed.externals.bundle.min.js:560:310)
at e (https://app.powerbi.com/13.0.7149.169/scripts/reportembed.externals.bundle.min.js:561:39)
at Object.invoke (https://app.powerbi.com/13.0.7149.169/scripts/reportembed.externals.bundle.min.js:561:124)
at https://app.powerbi.com/13.0.7149.169/scripts/reportembed.externals.bundle.min.js:563:158J @ reportEmbed.min.js:1
reportEmbed.min.js:1 ERROR Error: Uncaught (in promise): ReferenceError: clusterUri is not defined

 

PowerBI web portal is using ES6 syntax in https://app.powerbi.com/13.0.7149.169/scripts/reportembed.bundle.min.js. And the browser does not support it yet. It causes the issue.

 

Do we have a configuration option to tell PowerBI server to load an javascript backwards compatible version instead?

 

Any ideas? Thanks.

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.