{"record":{"id":"34f86b318f6acfc5","repo":"langchain-ai/langgraph","slug":"auth-file-not-found-resolved-from-path-str","errorCode":null,"errorMessage":"Auth file not found: {resolved} (from {path_str})","messagePattern":"Auth file not found: (.+?) \\(from (.+?)\\)","errorType":"exception","errorClass":"FileNotFoundError","httpStatus":null,"severity":"error","filePath":"libs/cli/langgraph_cli/config.py","lineNumber":941,"sourceCode":"            else:\n                config[\"graphs\"][graph_id] = f\"{module_str}:{attr_str}\"\n\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","sourceCodeStart":923,"sourceCodeEnd":959,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/cli/langgraph_cli/config.py#L923-L959","documentation":"Error \"Auth file not found: {resolved} (from {path_str})\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/cli/langgraph_cli/config.py:941 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"}