Bug description
I'm using Superset version 5, and since I started using it, I’ve been seeing the toast message:
“Error loading chart datasources”
(status 422 in the browser console)
This happens every time I create a new dashboard.
From my investigation, it seems this error is caused by a bug during the creation of charts and native filters. In the internal metadata database, I found that some of my charts and filters were missing the datasource and queries fields in their metadata.
I tried manually updating these values (using AI-generated SQL queries), and although the flags changed from "t" to "f", the toast message still appears. For a while I just hid the message, but when I try to use the export data API, this error prevents the chart data from being returned.
Screenshots/recordings
No response
Superset version
5.0.0
Python version
I don't know
Node version
16
Browser
Chrome
Additional context
No response
Checklist
Bug description
I'm using Superset version 5, and since I started using it, I’ve been seeing the toast message:
“Error loading chart datasources”
(status 422 in the browser console)
This happens every time I create a new dashboard.
From my investigation, it seems this error is caused by a bug during the creation of charts and native filters. In the internal metadata database, I found that some of my charts and filters were missing the datasource and queries fields in their metadata.
I tried manually updating these values (using AI-generated SQL queries), and although the flags changed from
"t"to"f", the toast message still appears. For a while I just hid the message, but when I try to use the export data API, this error prevents the chart data from being returned.Screenshots/recordings
No response
Superset version
5.0.0
Python version
I don't know
Node version
16
Browser
Chrome
Additional context
No response
Checklist