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/explore/form_data/utils.py:43

    DatasetNotFoundError,
)
from superset.commands.temporary_cache.exceptions import (
    TemporaryCacheAccessDeniedError,
    TemporaryCacheResourceNotFoundError,
)
from superset.explore.utils import check_access as explore_check_access
from superset.utils.core import DatasourceType


def check_access(
    datasource_id: int,
    chart_id: Optional[int],
    datasource_type: DatasourceType,
) -> None:
    try:
        explore_check_access(datasource_id, chart_id, datasource_type)
    except (ChartNotFoundError, DatasetNotFoundError) as ex:
        raise TemporaryCacheResourceNotFoundError from ex
    except (ChartAccessDeniedError, DatasetAccessDeniedError) as ex:
        raise TemporaryCacheAccessDeniedError from ex

View on GitHub (pinned to f4587218dd)

Solutions

  1. Verify the form_data key exists before accessing it; regenerate it via Explore if needed.

When it happens

Trigger: Accessing an Explore form_data value that does not exist.

Common situations: Accessing Explore form_data 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/ce15e1129091fa36. Report an issue: GitHub.