{"record":{"id":"04c6fabcafb0519f","repo":"langchain-ai/langgraph","slug":"invalid-auth-path-format-auth-conf-path-m","errorCode":null,"errorMessage":"Invalid auth.path format: '{auth_conf['path']}'. Must be in format './path/to/file.py:attribute_name'","messagePattern":"Invalid auth\\.path format: '(.+?)'\\. Must be in format '\\./path/to/file\\.py:attribute_name'","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"libs/cli/langgraph_cli/config.py","lineNumber":525,"sourceCode":"            errors.append(\"`source.package` must be a non-empty string.\")\n        if errors:\n            detail = \"\\n\".join(f\"  - {e}\" for e in errors)\n            raise click.UsageError(\n                \"source.kind 'uv' requires a different \"\n                f\"config shape than dependency-based installs:\\n{detail}\"\n            )\n\n    if legacy_project_root or legacy_package:\n        raise click.UsageError(\n            \"Top-level `project_root` and `package` are no longer supported. \"\n            \"Use `source.root` and `source.package` instead.\"\n        )\n\n    # Validate auth config\n    if auth_conf := config.get(\"auth\"):\n        if \"path\" in auth_conf:\n            if \":\" not in auth_conf[\"path\"]:\n                raise ValueError(\n                    f\"Invalid auth.path format: '{auth_conf['path']}'. \"\n                    \"Must be in format './path/to/file.py:attribute_name'\"\n                )\n    # Validate encryption config\n    if encryption_conf := config.get(\"encryption\"):\n        if \"path\" in encryption_conf:\n            if \":\" not in encryption_conf[\"path\"]:\n                raise ValueError(\n                    f\"Invalid encryption.path format: '{encryption_conf['path']}'. \"\n                    \"Must be in format './path/to/file.py:attribute_name'\"\n                )\n    if http_conf := config.get(\"http\"):\n        if \"app\" in http_conf:\n            if \":\" not in http_conf[\"app\"]:\n                raise ValueError(\n                    f\"Invalid http.app format: '{http_conf['app']}'. \"\n                    \"Must be in format './path/to/file.py:attribute_name'\"\n                )","sourceCodeStart":507,"sourceCodeEnd":543,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/cli/langgraph_cli/config.py#L507-L543","documentation":"Error \"Invalid auth.path format: '{auth_conf['path']}'. Must be in format './path/to/file.py:attribute_name'\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/cli/langgraph_cli/config.py:525 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"}