amazon-quicksight-embedding-sdk: Dashboard not working with v2 sdk
I tried switching from a working embedded dashboard using the 1.20.1 sdk to use the new 2.0.1 sdk but the dashboard fails to completely render (some of the menus appear but not the sheet contents) and I get multiple errors in the browser.
e.g. in the browser (up to date chrome and firefox)
error message:
"Could not get json from element: page-config"
from platform-libs.bundle.2677a5cb271e2ffed854.39.js:2 getJSONFromElement
Exception: embeddingControl.cf5a7a64f29fb881a868.39.js:2 Uncaught DOMException: Failed to execute 'postMessage' on 'Window': Invalid target origin '' in a call to 'postMessage'
Also source maps are not working as the hosting domain is not resolving
DevTools failed to load source map: Could not load content for https://sourcemaps.prod.us-east-1.quicksight.aws.a2z.com/charting/1.0.13932.0/esm/252.bundle.f40e4d4f02a96d99.2.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 17 (6 by maintainers)
Should this issue be closed given the README has not been updated? as another developer may run into this issue?
Glad to hear your issue is resolved. And thank you for your suggestions.
Version 2.0 captures invalid container in onChange event handler as
INVALID_CONTAINERand throws an error.E.g.
I tested the starting with number case. An error is thrown, but it was not handled by the SDK.
E.g.
We are looking into capturing this case also. Thank you again.