{"record":{"id":"62c833a5f8c3e49d","repo":"langchain-ai/langgraph","slug":"extension-name-must-be-non-empty-62c833","errorCode":null,"errorMessage":"extension name must be non-empty.","messagePattern":"extension name must be non-empty\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"libs/sdk-py/langgraph_sdk/stream/decoders.py","lineNumber":347,"sourceCode":"            status, error = _terminal_from_tasks_result(data)\n            handle._finish(status, error)\n            del self._active[child_path]\n\n\nclass ExtensionsDecoder:\n    \"\"\"Yields `params.data` from one named custom channel.\n\n    Mirrors `_ExtensionProjection._iter` (`_async/stream.py:1278-1299`), with\n    an added name filter so it can share one subscription in interleave.\n\n    Args:\n        name: The extension name. Only `custom` events whose `data[\"name\"]`\n            matches are consumed.\n    \"\"\"\n\n    def __init__(self, name: str):\n        if not name:\n            raise ValueError(\"extension name must be non-empty.\")\n        self._name = name\n\n    def feed(self, event: Mapping[str, Any]) -> Iterable[Any]:\n        if event.get(\"method\") != \"custom\":\n            return\n        params = event.get(\"params\") or {}\n        data = params.get(\"data\")\n        if not isinstance(data, dict):\n            return\n        if data.get(\"name\") != self._name:\n            return\n        yield data\n","sourceCodeStart":329,"sourceCodeEnd":360,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/sdk-py/langgraph_sdk/stream/decoders.py#L329-L360","documentation":"Error \"extension name must be non-empty.\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/sdk-py/langgraph_sdk/stream/decoders.py:347 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"38031739e551638e373fb553453256c23feeb41f","analyzedAt":"2026-08-26T18:02:49.312Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}