Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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);
}
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |