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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.