{"record":{"id":"ccf42e257c3e65d6","repo":"tinyhumansai/openhuman","slug":"ingest-document-load-config-failed-e","errorCode":null,"errorMessage":"ingest_document: load config failed: {e}","messagePattern":"ingest_document: load config failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/query/ingest_document.rs","lineNumber":101,"sourceCode":"        let source_ref = args\n            .get(\"source_ref\")\n            .and_then(|v| v.as_str())\n            .map(|s| s.to_string());\n        let owner = args\n            .get(\"owner\")\n            .and_then(|v| v.as_str())\n            .unwrap_or(\"\")\n            .to_string();\n\n        if title.trim().is_empty() || body.trim().is_empty() || source_id.is_empty() {\n            return Ok(ToolResult::error(\n                \"ingest_document: title, body, and source_id must be non-empty\".to_string(),\n            ));\n        }\n\n        let cfg = config_rpc::load_config_with_timeout().await.map_err(|e| {\n            log::debug!(\"[tool][memory_tree] ingest_document config_load_failed err={e}\");\n            anyhow::anyhow!(\"ingest_document: load config failed: {e}\")\n        })?;\n\n        let doc = DocumentInput {\n            provider,\n            title: title.trim().to_string(),\n            body: body.trim().to_string(),\n            modified_at: Utc::now(),\n            source_ref,\n        };\n\n        let req = rpc::IngestRequest {\n            source_kind: SourceKind::Document,\n            source_id: source_id.clone(),\n            owner,\n            tags: vec![\"agent_ingested\".to_string()],\n            payload: serde_json::to_value(&doc).map_err(|e| {\n                log::debug!(\"[tool][memory_tree] ingest_document payload_serialize_failed err={e}\");\n                anyhow::anyhow!(\"ingest_document: failed to serialize payload: {e}\")","sourceCodeStart":83,"sourceCodeEnd":119,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/query/ingest_document.rs#L83-L119","documentation":"config_rpc::load_config_with_timeout failed while ingest_document prepared the ingestion RPC. The tool cannot resolve the workspace/endpoint to send the IngestRequest to; the underlying config error is chained in {e}.","triggerScenarios":"Thrown at src/openhuman/memory/query/ingest_document.rs:101 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry — the load has a timeout and can fail under startup contention","Check the config TOML for parse errors reported in the chained message","Verify the workspace/config path is readable by the core process"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}