GitHub user dosubot[bot] added a comment to the discussion: Error in sql lab at Superset 5.0.0
<!-- Answer --> That error means Superset's frontend tried to save your SQL Lab tab state to the backend (using the `/tabstateview/` API), but the request failed. This migration is controlled by the `SQLLAB_BACKEND_PERSISTENCE` feature flag, which moves query editor state from your browser's local storage to the server database for persistence and sharing across devices. Common causes include network or backend service issues, misconfigured or missing permissions (like `can_migrate_query` on `TabStateView`), database connection problems, or schema mismatches after upgrades. If your SQL Lab result sets are very large, recent changes in Superset 5.0.0 may also block migration due to new payload size limits (`SQLLAB_PAYLOAD_MAX_MB`) [source](https://github.com/apache/superset/issues/33423#issuecomment-2877450777) [source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/views/sql_lab/views.py). To troubleshoot: check that your backend services are up, your network is stable, and your Superset instance has the right permissions and database connectivity. If the problem persists, review your Superset backend logs for errors related to `TabStateView` or database commits—these will usually pinpoint the root cause. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/3311b5c8-25a2-4d4f-9b35-ce52a486e9e0?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/3311b5c8-25a2-4d4f-9b35-ce52a486e9e0?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/3311b5c8-25a2-4d4f-9b35-ce52a486e9e0?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/3311b5c8-25a2-4d4f-9b35-ce52a486e9e0?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/3311b5c8-25a2-4d4f-9b35-ce52a486e9e0?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/3311b5c8-25a2-4d4f-9b35-ce52a486e9e0?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/3311b5c8-25a2-4d4f-9b35-ce52a486e9e0?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34651) GitHub link: https://github.com/apache/superset/discussions/34651#discussioncomment-14080444 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
