Forum Discussion
Uncaught ReferenceError: ClipboardItem is not defined
- 1 year ago
I think the thread can be closed. MS fixed it. Thanks
Hi HasnainNutkani ,
Thank you for reaching out to the Microsoft Fabric Community.
The error message Uncaught ReferenceError: ClipboardItem is not defined is not caused by the Power BI JavaScript embedding functionality itself. Rather, it originates from usage of the Clipboard API specifically the ClipboardItem interface which is a browser-provided feature not supported in all environments.
This API is not part of the Power BI SDK, so the error is likely coming from custom application code or a third-party script that is being executed alongside or during the embedding process. As your integration has been stable for years, it’s possible that a recent change such as a browser update, added dependency, or modification in your app introduced this usage. It's also important to ensure the application is running in a secure (HTTPS) context and in a browser that supports the Clipboard API.
If the Power BI reports are rendering correctly and the error is only appearing in the console, it may be a non-blocking issue. However, if the embedding is being affected, we recommend reviewing any recent changes made to your app or libraries and checking the browser’s developer tools to locate the specific source of the error.
I hope this will resolve your issue, if you need any further assistance, feel free to reach out.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thankyou.
- lctrung1 year agoNew Member
My Power BI report is experiencing the same issue as others have mentioned. I'm using the "Publish to web" feature and embedding the report into an iframe within an HTTP page, and it consistently throws the following error: " reportEmbed.min.a7c6…b29f00692e27c5.js:1 Uncaught ReferenceError: ClipboardItem is not defined"
This issue occurred suddenly, without any updates or changes on my side. The report had been working fine for over a month.
However, when I switched the embedding page to use HTTPS, the report loads without any problem.
Could you please assist in resolving this issue quickly or advise on a workaround for HTTP environments?
Thank you very much for your support.
- AugustoChaves1 year agoAdvocate II
+1 affected as well
- acarmelo20001 year agoNew Member
I am having this same issue.
- markblom1 year agoFrequent Visitor
Experiencing the same issue!
Within WPF application we are calling https://api.powerbi.com but that does not work.
In our web application we are calling https://api.powerbi.com and that is working as before.
- WilliamCroke1 year agoNew Member
From my main response to this post, it appears to be part of the Power BI Embedded environment.
- punithv0501 year agoNew Member
Yes, I'm aslo facing similar issue
- gsmithmorryde1 year agoRegular Visitor
Same
- Paul-ROM-BI1 year agoNew Member
Yes, several of my customers have reported this and all of my installations that I have have checked are showing the same symptoms.
- husnainnutkani1 year agoNew Member
Thanks for your response. Let me add that we are using HTTP, and some users in our organisation are facing this issue while others can see the reports.
- niyas72041 year agoRegular Visitor
Hi Power BI Community,We've been using Power BI embedded reports inside a production application via WebView for quite a while now — stable and smooth.
However, very recently (as of yesterday), we've started encountering the following error in the browser console:
Uncaught ReferenceError: ClipboardItem is not defined
Our application setup hasn’t changed — same config, same environment, and same WebView.And we notices that the issue is facing some devices only,
what i am looking for is an official change or announcement from powerbi support,
NOTE:The convertion HTTPS is not feasible in my case
This is currently breaking our internal dashboards and causing display issues across our environment.
- gsmithmorryde1 year agoRegular Visitor
You guys have anything that will actualy help?
- AugustoChaves1 year agoAdvocate II
Changed the page request to HTTPS. For now that's the only thing I could do.
- jonatasrs1 year agoNew Member
Same problem, webview on android, without any change in the code.
Uncaught ReferenceError: ClipboardItem is not defined
reportEmbed.min.a7c6abb29f00692e27c5.js:
- AntonioCoelho1 year agoAdvocate II
No changes have been made to my application code in recent months, yet this error is now occurring for multiple customers.
Additionally, there have been no recent updates to the PowerBI-JavaScript GitHub repository, which leads me to believe that something may have changed on the Power BI Embedded backend. - Anonymous1 year agoNot applicable
This is from your source, and it is an error. What to do? https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.a7c6abb29f00692e27c5.js
- PowerrrRon1 year agoNew Member
Load your dashboard/page over HTTPS instead of http