apache/superset · error · TemporaryCacheUpdateFailedError

An error occurred while updating the value.

Error message

An error occurred while updating the value.

What it means

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

Source

Thrown at superset/commands/explore/form_data/update.py:86

                    session.get("_id"), tab_id, datasource_id, chart_id, datasource_type
                )
                key = cache_manager.explore_form_data_cache.get(contextual_key)
                if not key or not tab_id:
                    key = random_key()
                    cache_manager.explore_form_data_cache.set(contextual_key, key)

                new_state: TemporaryExploreState = {
                    "owner": owner,
                    "datasource_id": datasource_id,
                    "datasource_type": DatasourceType(datasource_type),
                    "chart_id": chart_id,
                    "form_data": form_data,
                }
                cache_manager.explore_form_data_cache.set(key, new_state)
            return key
        except SQLAlchemyError as ex:
            logger.exception("Error running update command")
            raise TemporaryCacheUpdateFailedError() from ex

    def validate(self) -> None:
        if self._cmd_params.form_data:
            validate_json(self._cmd_params.form_data)

View on GitHub (pinned to f4587218dd)

Solutions

  1. Check server logs for the underlying database error and retry the update.
  2. Confirm the key still exists and the payload is valid JSON before retrying.

When it happens

Trigger: A database or serialization error occurs while persisting an updated form_data value.

Common situations: Updating Explore form_data state when the backing key-value store write fails (database error or serialization failure).


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