GitHub user dosubot[bot] added a comment to the discussion: Infinite Load while
trying to apply Theme
<!-- Answer -->
The infinite loading and 404 errors when applying a theme at the dashboard
level are likely caused by the dashboard referencing a theme ID that does not
exist or is not accessible via the `/api/v1/theme/{id}` endpoint. Superset's
frontend expects a valid theme response, and if the backend returns a 404, the
dashboard can get stuck in a loading state instead of showing an error or
fallback theme. This can happen if the theme wasn't properly registered, was
deleted, or if there's a misconfiguration in how the dashboard is linked to the
theme.
The missing `superset-logo-horiz.png` error suggests that the theme or config
is pointing to a logo file that isn't present on the server. This is often set
via the `brandLogoUrl` token in the theme config, so make sure the referenced
file exists and is accessible.
The ReactAce warning about `enableLiveAutocompletion` is unrelated to the theme
issue and is just a configuration warning for the code editor component.
To resolve the infinite loading, check that the theme ID assigned to your
dashboard exists in the database and is accessible via the API. Also, verify
that any static assets referenced in your theme (like logos) are present on the
server. If you recently upgraded Superset, review recent changes to theme
handling and configuration, as the theme system was updated to use a base theme
hierarchy and stricter theme lookup logic ([see
details](https://github.com/apache/superset/pull/35220)).
<!-- 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/ea369159-4a94-412c-ab9f-238c767e626b?feedback_type=great_response)
|
[Irrelevant](https://app.dosu.dev/response-feedback/ea369159-4a94-412c-ab9f-238c767e626b?feedback_type=irrelevant_answer)
|
[Incorrect](https://app.dosu.dev/response-feedback/ea369159-4a94-412c-ab9f-238c767e626b?feedback_type=incorrect_sources)
|
[Verbose](https://app.dosu.dev/response-feedback/ea369159-4a94-412c-ab9f-238c767e626b?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/ea369159-4a94-412c-ab9f-238c767e626b?feedback_type=hallucination)
| [Report
🐛](https://app.dosu.dev/response-feedback/ea369159-4a94-412c-ab9f-238c767e626b?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/ea369159-4a94-412c-ab9f-238c767e626b?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/35575)
GitHub link:
https://github.com/apache/superset/discussions/35575#discussioncomment-14632729
----
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]