dosubot[bot] commented on issue #34130: URL: https://github.com/apache/superset/issues/34130#issuecomment-3060742329
<!-- Answer --> This error happens because the frontend state (Redux/localStorage) is already corrupted or incomplete, so when the "Reset state" button tries to reinitialize SQL Lab, it ends up with missing keys like `queries`, `tables`, or `databases`. When the UI tries to use `Object.values` on these, it throws the TypeError you saw. This is a known bug in Superset's state management ([details](https://github.com/apache/superset/issues/33875)). The only reliable workaround is to manually clear your browser's localStorage (specifically the `redux` key), then reload the page or log out and back in. This will force Superset to fully reset SQL Lab state and should restore access to your databases. There isn't an in-app fix until a code change is releasedākeep an eye on future updates for a permanent solution. <!-- 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/4747bf2f-fd03-459c-bf36-389f506aa9a5?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/4747bf2f-fd03-459c-bf36-389f506aa9a5?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/4747bf2f-fd03-459c-bf36-389f506aa9a5?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/4747bf2f-fd03-459c-bf36-389f506aa9a5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/4747bf2f-fd03-459c-bf36-389f506aa9a5?feedback_type=hallucination) | [Report š](https://app.dosu.dev/response-feedback/4747bf2f-fd03-459c-bf36-389f506aa9a5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/4747bf2f-fd03-459c-bf36-389f506aa9a5?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [! [Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34130) -- 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]
