jpchev opened a new issue, #30907: URL: https://github.com/apache/superset/issues/30907
### Bug description Hello, I can integrate a dashboard in my UI via the iframe provided with the embedded sdk, but cross filters don't work, in particular I can't drill down and drill by in a pie chart. I see a 404 error when calling the call to the api /api/v1/dataset/1 whereas the same call works when browsing the same dashboard in the Apache Superset UI. Here the call getting a 404 from the iframe, saved as a curl command ``` curl 'https://myurl/api/v1/dataset/1' \ -H 'accept: application/json' \ -H 'accept-language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,it;q=0.6,ru;q=0.5' \ -H 'cache-control: no-cache' \ -H 'pragma: no-cache' \ -H 'priority: u=1, i' \ -H 'referer: https://myurl/embedded/d73e7841-9342-4afd-8e29-b4a416a2498c?uiConfig=0' \ -H 'sec-ch-ua: "Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99"' \ -H 'sec-ch-ua-mobile: ?0' \ -H 'sec-ch-ua-platform: "Linux"' \ -H 'sec-fetch-dest: empty' \ -H 'sec-fetch-mode: same-origin' \ -H 'sec-fetch-site: same-origin' \ -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36' \ -H 'x-csrftoken: <csrftoken>' \ -H 'x-guesttoken: <guesttoken>' {"message":"Not found"} ``` and here I report the same call working in Apache Superset ``` curl 'https://myurl/api/v1/dataset/1' \ -H 'accept: application/json' \ -H 'accept-language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,it;q=0.6,ru;q=0.5' \ -H 'cache-control: no-cache' \ -H 'cookie: session=<session>' \ -H 'pragma: no-cache' \ -H 'priority: u=1, i' \ -H 'referer: https://myurl/superset/dashboard/1/?native_filters_key=DQm0kUmYbI87lXnWjTPKM4pmj0vR7Qy6pt67CgtJaJFSx15Tf-4dVVrkzVXkUPTP' \ -H 'sec-ch-ua: "Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99"' \ -H 'sec-ch-ua-mobile: ?0' \ -H 'sec-ch-ua-platform: "Linux"' \ -H 'x-csrftoken: <csfrtoken> \ ``` can you please look into this ? ### Screenshots/recordings _No response_ ### Superset version 4.0.2 ### Python version 3.9 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem. - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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]
