Help

DiscussCategory: Plugin installationUncaught DOMException: Failed to execute 'postMessage' on 'Window'
Mrudul T asked 2 years ago

Chrome’s stack trace:

DataCloneError: The object could not be cloned. loader:1

p – https://loader.getbee.io/v1/api/loader:1:844

w/d.onload – https://loader.getbee.io/v1/api/loader:1:2599

I’m able to fetch the token from beefree resource servers. This error occuts when I’m calling BeePlugin.create

2 Answers
Matt answered 2 years ago

The create method returns an instance of BEE plugin which you can start using the .start() function. Are you receiving the instance, or does this happen before? If you want to raise a ticket, then we can help review your code.

Mrudul T answered 2 years ago

It happened before, when trying to call BeePlugin.create.

We are using AngularJS, and it was injecting $promise into the $http object, which was causing the post message to fail. Doing an $http call without angular promises resolved this issue.

Your Answer