sagarfirefly commented on issue #41268:
URL: https://github.com/apache/superset/issues/41268#issuecomment-4775518401

   @rusackas Thank you so much for the quick response. I agree with you. I am 
getting 200 response for the chart data and data is there in the api response
   ```sh
   Request URL 
http://localhost:8088/api/v1/chart/data?form_data=%7B%22slice_id%22%3A27%7D
   Request Method POST
   Status Code 200 OK
   Remote Address [::1]:8088
   Referrer Policy strict-origin-when-cross-origin
   ```
   
   ```json
   {
       "result": [
           {
               "data": [
                   {
                       "speciality": "Dental",
                       "COUNT(id)": 100,
                       "COUNT(id)__contribution": 0.2
                   },
                   {
                       "speciality": "ENT",
                       "COUNT(id)": 100,
                       "COUNT(id)__contribution": 0.2
                   },
                   {
                       "speciality": "Eye",
                       "COUNT(id)": 100,
                       "COUNT(id)__contribution": 0.2
                   },
                   {
                       "speciality": "Heart",
                       "COUNT(id)": 100,
                       "COUNT(id)__contribution": 0.2
                   },
                   {
                       "speciality": "Tech",
                       "COUNT(id)": 100,
                       "COUNT(id)__contribution": 0.2
                   }
               ],
               "colnames": [
                   "speciality",
                   "COUNT(id)",
                   "COUNT(id)__contribution"
               ],
               "coltypes": [
                   1,
                   0,
                   0
               ],
               "rowcount": 5,
               "sql_rowcount": 5,
               "detected_currency": null
           }
       ]
   }
   ```
   
   Moreover, while clicking copy action also works well:
   
   <img width="766" height="370" alt="Image" 
src="https://github.com/user-attachments/assets/92232fdb-fe2b-4dba-b851-189b51e959bb";
 />
   
   ```csv
   speciality   COUNT(id)       COUNT(id)__contribution
   Occupational Therapist       100     0.2
   LPN/LVN      100     0.2
   Antepartum   100     0.2
   NP   100     0.2
   OR Tech      100     0.2
   ```
   
   Additionally, there is no such error on browser console as well. Just 
surprised by the issue it self.


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