maxfrei750 opened a new issue, #35177: URL: https://github.com/apache/superset/issues/35177
### Bug description ## Steps to reproduce - Uncertain if relevant: create a custom theme according to the [theming guide](https://superset.apache.org/docs/configuration/theming/). - Export a dashboard - Try to import it ## Additional information - Using docker: apache/superset:6.0.0rc1 ## Thanks a lot for your awesome FOSS. ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.9 ### Node version 16 ### Browser Firefox ### Additional context ## Error stack ``` 2025-09-17 15:51:20,455:WARNING:superset.commands.importers.v1:Import Error: {'theme_id': ['Unknown field.']} 2025-09-17 15:51:20,456:INFO:superset.commands.dashboard.importers.dispatcher:Command failed validation 2025-09-17 15:51:20,456:WARNING:superset.views.error_handling:CommandException Traceback (most recent call last): File "/app/.venv/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request rv = self.dispatch_request() File "/app/.venv/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/app/.venv/lib/python3.10/site-packages/flask_appbuilder/security/decorators.py", line 109, in wraps return f(self, *args, **kwargs) File "/app/superset/views/base_api.py", line 120, in wraps duration, response = time_function(f, self, *args, **kwargs) File "/app/superset/utils/core.py", line 1409, in time_function response = func(*args, **kwargs) File "/app/superset/utils/log.py", line 304, in wrapper value = f(*args, **kwargs) File "/app/superset/views/base_api.py", line 107, in wraps return f(self, *args, **kwargs) File "/app/superset/dashboards/api.py", line 1595, in import_ command.run() File "/app/superset/commands/dashboard/importers/dispatcher.py", line 57, in run command.run() File "/app/superset/utils/decorators.py", line 267, in wrapped return on_error(ex) File "/app/superset/utils/decorators.py", line 232, in on_error raise ex File "/app/superset/utils/decorators.py", line 260, in wrapped result = func(*args, **kwargs) File "/app/superset/commands/importers/v1/__init__.py", line 84, in run self.validate() File "/app/superset/commands/importers/v1/__init__.py", line 120, in validate raise CommandInvalidError( superset.commands.exceptions.CommandInvalidError: Error importing dashboard ``` ## superset_config.py ``` """Superset configuration.""" import os SUPERSET_DB_USER = os.getenv('SUPERSET_DB_USER', 'superset') SUPERSET_DB_PASSWORD = os.getenv('SUPERSET_DB_PASSWORD', 'superset') SUPERSET_DB_NAME = os.getenv('SUPERSET_DB_NAME', 'superset') SQLALCHEMY_DATABASE_URI = ( f'postgresql+psycopg2://{SUPERSET_DB_USER}:{SUPERSET_DB_PASSWORD}@superset-db:5432/{SUPERSET_DB_NAME}' ) FEATURE_FLAGS = { 'ENABLE_TEMPLATE_PROCESSING': True, 'EXTRA_CATEGORICAL_COLOR_SCHEMES': True, } ENABLE_PROXY_FIX = True # Theme configuration FAVICONS = [{'href': '/static/assets/images/favicon.ico', 'type': 'image/x-icon'}] APP_NAME = 'Dashboard' LOGO_TARGET_PATH = '/' LOGO_TOOLTIP = APP_NAME EXTRA_CATEGORICAL_COLOR_SCHEMES = [ { ... }, { ... }, ] THEME_DEFAULT = { 'token': { ... } } THEME_DARK = { 'token': { ... }, 'algorithm': 'dark', } ``` ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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: notifications-unsubscr...@superset.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org