langchain-ai/langgraph · error · NotImplementedError

RemoteGraph.stream_events(version='v3') does not support…

Error message

RemoteGraph.stream_events(version='v3') does not support the following kwargs: {unknown}. Supported: {supported}.

What it means

Raised by RemoteGraph._reject_v3_unsupported for **kwargs whose names are not recognized at all by the v3 path. The message lists the unknown kwargs and the supported set, so typos or stale arguments are caught here.

Solutions

  1. Drop or correct the unknown kwargs according to the supported list in the message
  2. Move configuration to the remote deployment when unsupported locally
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at libs/langgraph/langgraph/pregel/remote.py:217 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of langchain-ai/langgraph@38031739e5 (2026-08-26). Data as JSON: /api/errors/56f03b6c2e5824da. Report an issue: GitHub.

Appendix: source

Thrown at libs/langgraph/langgraph/pregel/remote.py:217

        transformers: Any,
        interrupt_before: Any,
        interrupt_after: Any,
        extra_kwargs: dict[str, Any],
    ) -> None:
        """Raise NotImplementedError for kwargs unsupported by the v3 streaming path."""
        for name, value in (
            ("control", control),
            ("transformers", transformers),
            ("interrupt_before", interrupt_before),
            ("interrupt_after", interrupt_after),
        ):
            if value:
                raise NotImplementedError(
                    f"RemoteGraph.stream_events(version='v3') does not support `{name}=`."
                )
        unknown = set(extra_kwargs) - _V3_SUPPORTED_KWARGS
        if unknown:
            raise NotImplementedError(
                f"RemoteGraph.stream_events(version='v3') does not support "
                f"the following kwargs: {sorted(unknown)!r}. "
                f"Supported: {sorted(_V3_SUPPORTED_KWARGS)!r}."
            )

    def copy(self, update: dict[str, Any]) -> Self:
        attrs = {**self.__dict__, **update}
        return self.__class__(attrs.pop("assistant_id"), **attrs)

    def with_config(self, config: RunnableConfig | None = None, **kwargs: Any) -> Self:
        return self.copy(
            {"config": merge_configs(self.config, config, cast(RunnableConfig, kwargs))}
        )

    def _get_drawable_nodes(
        self, graph: dict[str, list[dict[str, Any]]]
    ) -> dict[str, DrawableNode]:
        nodes = {}

View on GitHub (pinned to 38031739e5)