Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have troubles sometimes loading my reportis with power bi javascript api.
Sometimes they do open.
WindowsPostMessageProxy message shoud allway be object type, sometimes it is a string. there lies my problem. Why is it string?
And when it is tring i get this warning and report is not loaded.
Any ideas ?
Solved! Go to Solution.
Based on my research, you could try to insert a code snippet to parse the JSON string.
if (typeof message === "string") {
console.log("parse a JSON string");
// message = eval('(' + message + ')');
message = JSON.parse(message);
}
Based on my research, you could try to insert a code snippet to parse the JSON string.
if (typeof message === "string") {
console.log("parse a JSON string");
// message = eval('(' + message + ')');
message = JSON.parse(message);
}
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |