Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I've integrated Power BI reports into a web application, and everything has been working smoothly for the past three years. However, all of a sudden, I'm encountering the following error in the browser console:
Uncaught ReferenceError: ClipboardItem is not defined.
This error appears when calling the following method:
report = powerbi.embed(embedContainer, config);
Could someone please help me understand and resolve this issue?
Solved! Go to Solution.
I think the thread can be closed. MS fixed it. Thanks
You are right. I've updated my comment.
We are also trying the same, but the web server load will be higher and it's not cost-effective.
Hi Team,
Since yesterday, our embedded Power BI reports have stopped working. Nothing has changed in our setup, and it's been running fine for months.
Now the reports don’t load, and we’re seeing a console error related to ClipboardItem and reportEmbed.min.js. This is affecting all screens across the plant.
It looks like something may have changed on Microsoft’s side. Could you please check and help us resolve this as soon as possible?
Thanks,
Shanila
Do we have any valid solutions which are not just altering some changes in browsers
We are having the same issue.
I was able to solve it momentarily with a configuration in Chrome:
chrome://flags/#unsafely-treat-insecure-origin-as-secure
Insecure origins treated as secure Treat given (insecure) origins as secure origins. Multiple origins can be supplied as a comma-separated list. Origins must have their protocol specified e.g. "http://example.com". For the definition of secure contexts, see https://w3c.github.io/webappsec-secure-contexts/ – Mac, Windows, Linux, ChromeOS, Android
It worked for me too.thank u
It worked for me. I was using http without https, working locally, but the report crashed.
I just enable this config in chrome and solve my problem. I guess it will not generate error if is in production environment when using https.
Morning, i have the same issues, my aplication work normaly in localhost.
When i put on production i have the issues with the clipboard, i read many posts but i dont see the config someone talking about chrome.
you can share the config to make dashboard work on chrome??
I am having same issue in our companys internal reporting environment which is using http. It was working fine on Friday but now today its not working.
Uncaught ReferenceError: ClipboardItem is not defined - Power BI Embed in WebView Suddenly Failing
Hi Power BI Community,
We've been using Power BI embedded reports inside a production application via WebView for quite a while now - everything was stable. However, very recently, we've started encountering the following error in the browser console:
Uncaught ReferenceError: ClipboardItem is not defined
This error is triggered at the point of embedding the report using:
report = powerbi.embed(embedContainer, config);
Key Notes:
Community Echoes:
I noticed other developers are facing the exact issue across different platforms and embedding methods:
What I'm looking for:
This issue is currently affecting our internal dashboards across environments. Any clarity or guidance would be greatly appreciated.
Thanks in advance!
- Puneeth
I’m currently using an embedded service and encountering an error that says ClipboardItem is not defined. This issue appears in Chrome and Edge browsers, while it seems to work fine in Safari. Could you help me understand why this is happening?
Also, I’m using HTTP, and switching to HTTPS is not an option at the moment. Is there a way to resolve this issue so that the feature works correctly over HTTP as well?
+1 affected as well, I'm waiting for this fix this friday as microsoft posted
Yeah, this is unexpected. I have a WPF application with an embedded PBI report using WebView2 that suddenly stopped working, with the same error mentioned above. Had been working fine for months, loading a local HTML file as the webview source. If I spin up a simple webserver to serve the same HTML file over HTTPS, it works fine. Same code.
Something has changed, and it wasn't in our applications
Okay, so, as was mentioned in another post by v-tsaipranay, the ClipboardItem does need to be over HTTPS on a compatible browser. But from what I have found, it is indeed in the reportEmbed.min.js that comes through the Power BI SDK.
I have found that changing all my links to HTTPS (was only ever internal) has fixed this. But I would still like to try and find out what exactly changed, as it was working over HTTP for well over a year without any issues up until yesterday morning.
Yep, we're seeing the same on embedded reports, since yesterday. No changes to config or environment
I am getting the same issue myself now, which started occurring yesterday, as if Microsoft made an update to reportEmbed.min.js
There have been zero changes to the embedded environment I created for months now, as it was working away without issue, so there is nothing on our end that would have introduced this error.
Now, we have no reports showing throughout our plant because of this.
Screen just sticks on the following with the error in the console:
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.
This is from your source, and it is an error. What to do? https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.a7c6abb29f00692e27c5.js
Load your dashboard/page over HTTPS instead of http
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
4 | |
3 | |
3 | |
2 |