Purush0th commented on issue #25630:
URL: https://github.com/apache/superset/issues/25630#issuecomment-1865500539

   I have I've added all these permissions along with Public + Gamma.
   
   ```
   can read on Dashboard
   can read on Chart
   can read on DashboardFilterStateRestApi
   can write on DashboardFilterStateRestApi
   can time range on Api
   can samples on Datasource
   all datasource access on all_datasource_access
   can explore on Superset
   can fetch datasource metadata on Superset
   can read on Dataset
   ```
   But drilldown not working with embedded.
   
   
![image](https://github.com/apache/superset/assets/1386902/9a5d4337-d754-4491-b952-64f420357a5b)
   
   **Request:**
   ```
   POST 
https://example.com/datasource/samples?force=false&datasource_type=table&datasource_id=31&per_page=50&page=1
 HTTP/1.1
   Host: [example.com](http://example.com/)
   Content-Type: application/json
   Accept: application/json
   X-GuestToken: XXXXX
   X-CSRFToken: XXXX
   sec-ch-ua-platform: "Windows"
   ```
   
   **Response:**
   ```
   HTTP/1.1 400 BAD REQUEST
   Set-Cookie: session=eyJsb2NhbGUiOiJlbiJ9.ZYO_Zg.bTH-mcPMi1WMQbBfkCGF8AyJMJI; 
HttpOnly; Path=/; SameSite=Lax
   {"errors": [{"message": "400 Bad Request: The CSRF session token is 
missing.", "error_type": "GENERIC_BACKEND_ERROR", "level": "error", "extra": 
{"issue_codes": [{"code": 1011, "message": "Issue 1011 - Superset encountered 
an unexpected error."}]}}]}
   ```
   
   Could you tell what went wrong?
   


-- 
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