jjggddb opened a new issue, #34813:
URL: https://github.com/apache/superset/issues/34813

   ### Bug description
   
   The error scenario is as follows in Version: 4.1.1:
   1. Right click on Chart to open _ChartContextMenu_. _DrillByMenuItems_ will 
request the **/api/v1/dataset/<id>** interface, which will report an error: 
**404 NOT FOUND**.
   2. Granting the visitor user **can_samples** permission, _DrillModal_ opened 
in _DrillDetailMenuItems_ within _SliceHeaderControl_ will also request 
**/api/v1/dataset/<id>** with an error message of **404 NOT FOUND**
   3. I have added some custom requirements in _DrillByMenuItems_, which use 
**/api/v1/deploy/?slice_id=<id>** Successfully obtained slice data, but failed 
to retrieve chart data using **/api/v1/chart/<id>** with error: 404 NOT FOUND. 
When the error occurs, use the ChartContextMenu to refresh and request 
interface **/api/v1/chart/data? Form_data=*...** Error: 403 FORBIDDEN
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.1.3
   
   ### Python version
   
   3.10
   
   ### Node version
   
   18 or greater
   
   ### 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]

Reply via email to