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.
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.
- gizmogaurav1 year agoNew Member
Not working for me too . It was few weeks before and suddenly stop working