dosubot[bot] commented on issue #31866: URL: https://github.com/apache/superset/issues/31866#issuecomment-2592236254
<!-- Answer --> The error you're encountering is a `KeyError` related to the `DB_SQLA_URI_VALIDATOR` configuration in Superset. This error occurs because the `DB_SQLA_URI_VALIDATOR` key is missing from the `current_app.config` object. By default, this configuration is set to `None` in Superset's `config.py` file <sup>[[1]](https://github.com/apache/superset/blob/master/superset/config.py)</sup>. To resolve this issue, you can explicitly set the `DB_SQLA_URI_VALIDATOR` in your `superset_config.py` file. You can set it to `None` if you don't need any specific validation, or you can define a custom validation function if needed. Here's how you can set it to `None`: ```python DB_SQLA_URI_VALIDATOR = None ``` Make sure to restart your Superset instance after making this change to ensure the configuration is loaded correctly. This should prevent the `KeyError` from occurring when starting Superset. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/d7b9eeaf-f7c5-4aa3-9fc0-002f2d5ee308?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/d7b9eeaf-f7c5-4aa3-9fc0-002f2d5ee308?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/d7b9eeaf-f7c5-4aa3-9fc0-002f2d5ee308?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/d7b9eeaf-f7c5-4aa3-9fc0-002f2d5ee308?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d7b9eeaf-f7c5-4aa3-9fc0-002f2d5ee308?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/d7b9eeaf-f7c5-4aa3-9fc0-002f2d5ee308?feedback_type=other)</sup> -- 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]
