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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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