Failing setParameters in QuickSight Embedded SDK

Hello all!

I am working on a React app where I use the amazon-quicksight-embedding-sdk to embed a dashboard.

After creating a DashboardExperience with embedDashboard() in my app, I want to use the setParameters option from the SDK.

However, this is not working.

I am testing this locally, and I get this error:
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided
(‘’) does not match the recipient window’s origin (‘http://localhost:3000’).

Is there a setting that I missed? How can I allow these calls via the SDK locally, and later on a server?

Embedding a dashboard works fine, it is just changing the parameters that is not working.

Any help is very welcome, thanks!

  • Karen

Hello @khilgert, welcome to the QuickSight community!

I would say if you feel confident about your code and you think this a bug, it would be worth filing an issue on the quicksight embedding sdk github account. Otherwise, if you are unsure about the code you wrote, if you can post an anonymized version of the code you wrote for the embedding process, I can try to guide you further.

1 Like

Hello @khilgert, since we have not heard back from you with any follow-up information, I will archive this topic. If you require further assistance, please post a new question in the community. That wille ensure you are at the top of the priority list for a response from one of our QuickSight experts. Thank you!