You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have cleared the database and init superset with roles and permissions and did not load the sample data as I wanted to start fresh.
When I clicked SQL Lab, I got the error "Unable to add a new tab to the backend. Please contact your administrator.".
And I looked at the network tab the API for api/v1/tabstateview/ was throwing 500 due to 'dbId' is not found.
Bug description
I have cleared the database and init superset with roles and permissions and did not load the sample data as I wanted to start fresh.
When I clicked SQL Lab, I got the error
"Unable to add a new tab to the backend. Please contact your administrator."
.And I looked at the network tab the API for
api/v1/tabstateview/
was throwing 500 due to'dbId'
is not found.When I changed the code as below I was able to create a tab in SQL Lab.
What is the right approach?
DatabaseModal
if no database ids are found? So that User can create the database first, and then proceeds to SQL Lab.How to reproduce the bug
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.11
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: