tinyhumansai/openhuman · error
ingest_document: load config failed: {e}
Error message
ingest_document: load config failed: {e} What it means
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}.
Source
Thrown at src/openhuman/memory/query/ingest_document.rs:101
let source_ref = args
.get("source_ref")
.and_then(|v| v.as_str())
.map(|s| s.to_string());
let owner = args
.get("owner")
.and_then(|v| v.as_str())
.unwrap_or("")
.to_string();
if title.trim().is_empty() || body.trim().is_empty() || source_id.is_empty() {
return Ok(ToolResult::error(
"ingest_document: title, body, and source_id must be non-empty".to_string(),
));
}
let cfg = config_rpc::load_config_with_timeout().await.map_err(|e| {
log::debug!("[tool][memory_tree] ingest_document config_load_failed err={e}");
anyhow::anyhow!("ingest_document: load config failed: {e}")
})?;
let doc = DocumentInput {
provider,
title: title.trim().to_string(),
body: body.trim().to_string(),
modified_at: Utc::now(),
source_ref,
};
let req = rpc::IngestRequest {
source_kind: SourceKind::Document,
source_id: source_id.clone(),
owner,
tags: vec!["agent_ingested".to_string()],
payload: serde_json::to_value(&doc).map_err(|e| {
log::debug!("[tool][memory_tree] ingest_document payload_serialize_failed err={e}");
anyhow::anyhow!("ingest_document: failed to serialize payload: {e}")View on GitHub (pinned to 7491200858)
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
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/openhuman/memory/query/ingest_document.rs:101 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17).
Data as JSON: /api/errors/ccf42e257c3e65d6.
Report an issue: GitHub.