apache/superset · error · ExplorePermalinkGetFailedError

An error occurred while accessing the value.

Error message

An error occurred while accessing the value.

What it means

Error "An error occurred while accessing the value." thrown in apache/superset.

Source

Thrown at superset/commands/explore/get.py:71

    def __init__(
        self,
        params: CommandParameters,
    ) -> None:
        self._permalink_key = params.permalink_key
        self._form_data_key = params.form_data_key
        self._datasource_id = params.datasource_id
        self._datasource_type = params.datasource_type
        self._slice_id = params.slice_id

    # pylint: disable=too-many-locals,too-many-branches,too-many-statements
    def run(self) -> Optional[dict[str, Any]]:  # noqa: C901
        initial_form_data = {}
        permalink_chart_state = None
        if self._permalink_key is not None:
            command = GetExplorePermalinkCommand(self._permalink_key)
            permalink_value = command.run()
            if not permalink_value:
                raise ExplorePermalinkGetFailedError()
            state = permalink_value["state"]
            initial_form_data = state["formData"]
            url_params = state.get("urlParams")
            if url_params:
                initial_form_data["url_params"] = dict(url_params)
            permalink_chart_state = state.get("chartState")
        elif self._form_data_key:
            parameters = FormDataCommandParameters(key=self._form_data_key)
            value = GetFormDataCommand(parameters).run()
            initial_form_data = json.loads(value) if value else {}

        message = None

        if not initial_form_data:
            if self._slice_id:
                initial_form_data["slice_id"] = self._slice_id
                if self._form_data_key:
                    message = _(

View on GitHub (pinned to f4587218dd)

Solutions

  1. Verify the form_data key exists and the user has access to it.
  2. Regenerate the form_data key by reopening the chart in Explore.

When it happens

Trigger: GET /api/v1/explore/form_data/<key> fails due to a storage/lookup error.

Common situations: Reading Explore chart context (slice/form_data) via the API when the lookup or deserialization raises an exception.


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