{"record":{"id":"d321dc85f73cbc96","repo":"langchain-ai/langgraph","slug":"module-has-no-attribute-name","errorCode":null,"errorMessage":"module has no attribute '{name}'","messagePattern":"module has no attribute '(.+?)'","errorType":"exception","errorClass":"AttributeError","httpStatus":null,"severity":"error","filePath":"libs/langgraph/langgraph/constants.py","lineNumber":64,"sourceCode":"        return getattr(module, name)\n\n    try:\n        from importlib import import_module\n\n        private_constants = import_module(\"langgraph._internal._constants\")\n        attr = getattr(private_constants, name)\n        warn(\n            f\"Importing {name} from langgraph.constants is deprecated. \"\n            f\"This constant is now private and should not be used directly. \"\n            \"Please let the LangGraph team know if you need this value.\",\n            LangGraphDeprecatedSinceV10,\n            stacklevel=2,\n        )\n        return attr\n    except AttributeError:\n        pass\n\n    raise AttributeError(f\"module has no attribute '{name}'\")\n","sourceCodeStart":46,"sourceCodeEnd":65,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/langgraph/langgraph/constants.py#L46-L65","documentation":"Error \"module has no attribute '{name}'\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/langgraph/langgraph/constants.py:64 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"}