fuadchonora opened a new issue, #24259: URL: https://github.com/apache/superset/issues/24259
When using the [@superset-ui/embedded-sdk](https://www.npmjs.com/package/@superset-ui/embedded-sdk) library (version 0.1.0-alpha.9) to embed a Superset dashboard into an application, bar chart and time-series chart types fail to load. Instead, the error message "Access is Denied" is displayed. This issue is observed consistently across all bar chart and time-series chart types. #### How to reproduce the bug 1. Create an application that uses the @superset-ui/embedded-sdk library to embed a Superset dashboard. 2. Load a Superset dashboard containing bar charts or time-series chart types. 3. Observe that the charts fail to load and display the "Access is Denied" error message. 4. Check the API responses for the following endpoint: - `/api/v1/chart/:id` (returns 404 status with the message "Not found") ### Expected results Bar chart and time-series chart types load successfully when using the @superset-ui/embedded-sdk library to embed a Superset dashboard into an application. The charts should display the expected data without any "Access is Denied" errors. ### Actual results Bar chart and time-series chart types fail to load when using the @superset-ui/embedded-sdk library to embed a Superset dashboard into an application. Instead of the expected charts, an "Access is Denied" error message is displayed. #### Screenshots   In the above screenshot, the last two APIs (63, 62) are the bar charts (uses `/api/v1/chart/:id` API). There are two pie charts that loaded successfully (uses `/api/v1/chart/data?form_data=...` API). ### Environment - Apache Superset version: 1.5.2 - @superset-ui/embedded-sdk version: 0.1.0-alpha.9 - Browser: Google Chrome Version 113.0.5672.126 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
