Forum Discussion

dvanlooy's avatar
dvanlooy
New Member
1 year ago

Power BI Javascript postMessage issues (Failed to execute 'postMessage' on 'Window')

Hi, 

In the js library from https://github.com/microsoft/PowerBI-JavaScript we encounter a lot of errors caused bij postMessage functions. (Failed to execute 'postMessage' on 'Window': #<Object> could not be cloned.) This is mainly caused by the interactions of the embedded content with the embedding window (mostly an iFrame) simply putting stringify on the postMessage functions is a dirty work arround for the error but no guarantee the embedding still behaves as intended.

Could someone please assist?

3 Replies