awslabs / amazon-quicksight-embedding-sdk

A SDK to help users embed QuickSight dashboards on other pages.
Apache License 2.0
171 stars 40 forks source link

DashboardExperience.getFilterGroupsForSheet(sheetId) Error #201

Open brianwyka opened 8 months ago

brianwyka commented 8 months ago

An error occurs the first time the DashboardExperience.getFilterGroupsForSheet(sheetId) function is called. On subsequent calls, the error does not occur. I noticed that the l variable in the code image below has a state of loading which is probably the issue...

Error:

embedding-bootstrap.…f7e16344acf.44.js:2 Uncaught (in promise) TypeError: l.map is not a function
    at embedding-bootstrap.…44acf.44.js:2:21465
    at Generator.next (<anonymous>)
    at dt (embedding-bootstrap.…44acf.44.js:2:14553)
    at s (embedding-bootstrap.…44acf.44.js:2:14757)

See offending code below:

image

Version 2.6.0

brianwyka commented 8 months ago

Unfortunately the source map fails to load - #143 , so debugging is not too easy.

kuehnmic commented 3 months ago

Hi @brianwyka, are you still facing this issue? We made updates in this area recently fixing a similar issue, it's possible that it fixed your case as well.

brianwyka commented 3 months ago

@kuehnmic, yes.