{"record":{"id":"4d2f396537ca6062","repo":"langchain-ai/langgraph","slug":"auth-path-must-be-a-file-resolved","errorCode":null,"errorMessage":"Auth path must be a file: {resolved}","messagePattern":"Auth path must be a file: (.+?)","errorType":"exception","errorClass":"IsADirectoryError","httpStatus":null,"severity":"error","filePath":"libs/cli/langgraph_cli/config.py","lineNumber":943,"sourceCode":"\n\ndef _update_auth_path(\n    config_path: pathlib.Path, config: Config, local_deps: LocalDeps\n) -> None:\n    \"\"\"Update auth.path to use Docker container paths.\"\"\"\n    auth_conf = config.get(\"auth\")\n    if not auth_conf or not (path_str := auth_conf.get(\"path\")):\n        return\n\n    module_str, sep, attr_str = path_str.partition(\":\")\n    if not sep or not module_str.startswith(\".\"):\n        return  # Already validated or absolute path\n\n    resolved = config_path.parent / module_str\n    if not resolved.exists():\n        raise FileNotFoundError(f\"Auth file not found: {resolved} (from {path_str})\")\n    if not resolved.is_file():\n        raise IsADirectoryError(f\"Auth path must be a file: {resolved}\")\n\n    # Check faux packages first (higher priority)\n    for faux_path, (_, destpath) in local_deps.faux_pkgs.items():\n        if resolved.is_relative_to(faux_path):\n            new_path = f\"{destpath}/{resolved.relative_to(faux_path)}:{attr_str}\"\n            auth_conf[\"path\"] = new_path\n            return\n\n    # Check real packages\n    for real_path in local_deps.real_pkgs:\n        if resolved.is_relative_to(real_path):\n            new_path = (\n                f\"/deps/{real_path.name}/{resolved.relative_to(real_path)}:{attr_str}\"\n            )\n            auth_conf[\"path\"] = new_path\n            return\n\n    raise ValueError(","sourceCodeStart":925,"sourceCodeEnd":961,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/cli/langgraph_cli/config.py#L925-L961","documentation":"Error \"Auth path must be a file: {resolved}\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/cli/langgraph_cli/config.py:943 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"}