apache/superset · error · TemporaryCacheResourceNotFoundError

Resource was not found.

Error message

Resource was not found.

What it means

Error "Resource was not found." thrown in apache/superset.

Source

Thrown at superset/commands/dashboard/filter_state/utils.py:33

# specific language governing permissions and limitations
# under the License.

from superset.commands.dashboard.exceptions import (
    DashboardAccessDeniedError,
    DashboardNotFoundError,
)
from superset.commands.temporary_cache.exceptions import (
    TemporaryCacheAccessDeniedError,
    TemporaryCacheResourceNotFoundError,
)
from superset.daos.dashboard import DashboardDAO


def check_access(resource_id: int) -> None:
    try:
        DashboardDAO.get_by_id_or_slug(str(resource_id))
    except DashboardNotFoundError as ex:
        raise TemporaryCacheResourceNotFoundError from ex
    except DashboardAccessDeniedError as ex:
        raise TemporaryCacheAccessDeniedError from ex

View on GitHub (pinned to f4587218dd)

Solutions

  1. Verify the dashboard ID and filter-state key exist before accessing them.

When it happens

Trigger: Accessing a dashboard filter-state value that does not exist.

Common situations: Accessing dashboard filter state by key when no stored value exists for that key.


AI-assisted analysis of apache/superset@f4587218dd (2026-08-14). Data as JSON: /api/errors/636cf45e06414c39. Report an issue: GitHub.