Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I have recently published various reports publicly to the web. I embedded the links in iframes and they are able to load fine on Firefox and Edge browsers. However, the reports do not load and throw errors when loaded on Chrome. Sometimes they are able to load on chrome, and sometimes they aren't. Also, the reports seem to load fine on chrome when I manually right click the iframe and select "reload frame".
The error thrown in the console when a dashboard doesn't load is as follows:
AI: StringValueTooLong message:"string value is too long. It has been truncated to 1024 characters." props:"{value:Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'options')\nTypeError: Cannot read properties of undefined (reading 'options')\n at Ye.allowVisualContainerPreload (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.38732c582f72ce35a5d3.js:1:3500934)\n at https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.38732c582f72ce35a5d3.js:1:3463706\n at t.invoke (https://content.powerapps.com/resource/powerbiwfe/scripts/reportembed.externals.bundle.min.2d90cc3c3d2529b68936.js:5:14191)\n at t.K.invoke (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.38732c582f72ce35a5d3.js:1:803459)\n at Object.onInvoke (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.vendors.min.e0dd7bf7f46258cf6211.js:1:495105)\n at t.invoke (https://content.powerapps.com/resource/powerbiwfe/scripts/reportembed.externals.bundle.min.2d90cc3c3d2529b68936.js:5:14131)\n at e.run (https://content.powerapps.com/reso}"
When I try to load a single embedded report iframe on Chrome, it seems to not error out quite as often. However when I have multiple dashboards on the page loading at once, the error comes up more frequently. Please let me know if you have any suggestions. Thank you.
Solved! Go to Solution.
Update: I have seemed to fix the problem. For some reason, appending &embedImagePlaceholder=true to the report url comepletely fixes the issue. This seems to work regardless if you set up an image placeholder or not. I still get the previously mentioned error in the console but the reports seem to load fine on chrome now
Update: I have seemed to fix the problem. For some reason, appending &embedImagePlaceholder=true to the report url comepletely fixes the issue. This seems to work regardless if you set up an image placeholder or not. I still get the previously mentioned error in the console but the reports seem to load fine on chrome now
Hello, would you be able to share how you came across this solution? Is that query param listed anywhere in the documentation? I haven't been able to find any references to it so far and I'm attempting to resolve this same issue using the powerbi-client-react component.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
39 | |
22 | |
21 | |
19 | |
10 |
User | Count |
---|---|
37 | |
36 | |
34 | |
20 | |
14 |