navigateToDashboard suddenly not working, apparently timing out

Our embedded dashboards use the " navigateToDashboard" API of the amazon-quicksight-embedding-sdk to load other dashboards inside of the experience. This feature has stopped working correctly starting yesterday, 2024-10-24. When the navigation is triggered, the experience either loads the same dashboard (i.e. no navigation happens) or it loads the correct dashboard to navigate to, but with the default parameters (i.e. it doesn’t take into account the passed parameters). Looks to me like the navigation is somehow being interrupted and stuck in a half-state. The only indication as to what could have happened are these errors in the console:
Screenshot 2024-10-25 095514

Which there are some topics and questions about here and on Github, but no actual solution that I can find.
Note that this has suddenly started happening without any change or related deployment from our side, and all 3 of our running systems were impacted at the same time, including the production system. I have implemented a workaround to keep users happy but I would like to figure out the real problem. I have no clue where to start given that there were no changes from our side. If more information is needed concerning our embedding setup or configuration, I will share it.

Interesting Follow-Up: The localStorage error happens when the Navigation Action in one of the Dashboard Visuals is triggered, even when I completely remove the “navigateToDashboard” call. So it seems like the bug may have been introduced by QuickSight to the Action itself (in the dashboard) and is unrelated to the SDK after all, with the timeout error only being a follow-up. I think this may be confusing so I’ll explain our set-up. Basically we have a Visual with Navigation Actions that just target the same sheet but add a “navigation” Parameter to the dashboard. In our code, where we embed the dashboard, we listen to the parameter change event, and if it includes this “navigation” parameter, we trigger “navigateToDashboard” with the given parameters. This is our workaround for QuickSight only having a built-in “navigate to sheet” action, and no “navigate to dashboard” action. And I removed this parameter change listener just to test, and the localStorage error is still output when the Action itself is triggered.

Hi @reveritas and welcome to the QuickSight community!
If this was working up until yesterday and then stopped with no changes made, my thoughts are that this may be a bug. I would suggest creating a support ticket.

Additionally, there’s an ‘issues’ tab on the github page as well, I would suggest listing this issue in there as well.

Thank you!

Thanks for the response, I had already created a support ticket even before making the post to explore all options.

This was indeed a bug implemented directly in QuickSight, unrelated to the Embedding SDK, and AWS Support has notified me today that they’ve deployed a fix. The navigateToDashboard API works again for us and hopefully everyone else too.

2 Likes