saghatelian opened a new issue, #35682: URL: https://github.com/apache/superset/issues/35682
### Bug description The "original/formatted" toggle in the "View Query" pop-up doesn't work. It's stuck on "original". Clicking on the toggle gives an error (below) in Chrome console. **Note that it was working on "6.0.0rc1".** The error ``` 9209.241e1adccfe51fea866f.entry.js:2 POST https://[DOMAIN-HIDDEN]/api/v1/sqllab/format_sql/ 400 (Bad Request) n @ 9209.241e1adccfe51fea866f.entry.js:2 (anonymous) @ 9209.241e1adccfe51fea866f.entry.js:2 (anonymous) @ 9209.241e1adccfe51fea866f.entry.js:2 (anonymous) @ 2269.593775801f9ed22f060f.entry.js:1 u @ 2269.593775801f9ed22f060f.entry.js:1 request @ 2269.593775801f9ed22f060f.entry.js:1 await in request post @ 2269.593775801f9ed22f060f.entry.js:1 post @ 2269.593775801f9ed22f060f.entry.js:1 (anonymous) @ 8fe7e097f8a517870d61.chunk.js:412 await in (anonymous) onChange @ vendors.077cc2e3066bd62c36ac.entry.js:2 P @ 2483.ff4341ca7d28268597ab.entry.js:1 onClick @ 2483.ff4341ca7d28268597ab.entry.js:1 De @ vendors.077cc2e3066bd62c36ac.entry.js:2 Ue @ vendors.077cc2e3066bd62c36ac.entry.js:2 (anonymous) @ vendors.077cc2e3066bd62c36ac.entry.js:2 Or @ vendors.077cc2e3066bd62c36ac.entry.js:2 Er @ vendors.077cc2e3066bd62c36ac.entry.js:2 (anonymous) @ vendors.077cc2e3066bd62c36ac.entry.js:2 Re @ vendors.077cc2e3066bd62c36ac.entry.js:2 (anonymous) @ vendors.077cc2e3066bd62c36ac.entry.js:2 Pr @ vendors.077cc2e3066bd62c36ac.entry.js:2 Zt @ vendors.077cc2e3066bd62c36ac.entry.js:2 Qt @ vendors.077cc2e3066bd62c36ac.entry.js:2 t.unstable_runWithPriority @ 9209.241e1adccfe51fea866f.entry.js:2 Go @ vendors.077cc2e3066bd62c36ac.entry.js:2 Ie @ vendors.077cc2e3066bd62c36ac.entry.js:2 Kt @ vendors.077cc2e3066bd62c36ac.entry.js:2 ``` ### Screenshots/recordings <!-- Failed to upload "Screen Recording 2025-10-16 at 11.53.38.mov" --> ### Superset version master / latest-dev ### Python version Not applicable ### Node version Not applicable ### Browser Chrome ### Additional context _No response_ ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [x] 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]
