{"record":{"id":"1ddf914d39bbdb41","repo":"langchain-ai/langgraph","slug":"input-is-deprecated-and-will-be-removed-please","errorCode":null,"errorMessage":"`input` is deprecated and will be removed. Please use `input_schema` instead.","messagePattern":"`input` is deprecated and will be removed\\. Please use `input_schema` instead\\.","errorType":"console","errorClass":"LangGraphDeprecatedSinceV05","httpStatus":null,"severity":"error","filePath":"libs/langgraph/langgraph/graph/state.py","lineNumber":235,"sourceCode":"        self,\n        state_schema: type[StateT],\n        context_schema: type[ContextT] | None = None,\n        *,\n        input_schema: type[InputT] | None = None,\n        output_schema: type[OutputT] | None = None,\n        **kwargs: Unpack[DeprecatedKwargs],\n    ) -> None:\n        if (config_schema := kwargs.get(\"config_schema\", MISSING)) is not MISSING:\n            warnings.warn(\n                \"`config_schema` is deprecated and will be removed. Please use `context_schema` instead.\",\n                category=LangGraphDeprecatedSinceV10,\n                stacklevel=2,\n            )\n            if context_schema is None:\n                context_schema = cast(type[ContextT], config_schema)\n\n        if (input_ := kwargs.get(\"input\", MISSING)) is not MISSING:\n            warnings.warn(\n                \"`input` is deprecated and will be removed. Please use `input_schema` instead.\",\n                category=LangGraphDeprecatedSinceV05,\n                stacklevel=2,\n            )\n            if input_schema is None:\n                input_schema = cast(type[InputT], input_)\n\n        if (output := kwargs.get(\"output\", MISSING)) is not MISSING:\n            warnings.warn(\n                \"`output` is deprecated and will be removed. Please use `output_schema` instead.\",\n                category=LangGraphDeprecatedSinceV05,\n                stacklevel=2,\n            )\n            if output_schema is None:\n                output_schema = cast(type[OutputT], output)\n\n        self.nodes = {}\n        self.edges = set()","sourceCodeStart":217,"sourceCodeEnd":253,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/langgraph/langgraph/graph/state.py#L217-L253","documentation":"Error \"`input` is deprecated and will be removed. Please use `input_schema` instead.\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/langgraph/langgraph/graph/state.py:235 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"}