tinyhumansai/openhuman · error · anyhow::Error
Missing required parameter: run_id
Error message
Missing required parameter: run_id
What it means
Required-parameter guard in the Apify run-status tool's execute: `run_id` (the ID returned by apify_run_actor) is absent or not a string. Fast-fail before any API call; the caller must pass the run identifier from a prior apify_run_actor invocation.
Source
Thrown at src/openhuman/integrations/tools/apify.rs:313
"properties": {
"run_id": {
"type": "string",
"description": "Apify run ID returned by apify_run_actor"
}
},
"required": ["run_id"]
})
}
fn category(&self) -> ToolCategory {
ToolCategory::Workflow
}
async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {
let run_id = args
.get("run_id")
.and_then(|v| v.as_str())
.ok_or_else(|| anyhow::anyhow!("Missing required parameter: run_id"))?;
if run_id.trim().is_empty() {
return Ok(ToolResult::error("run_id cannot be empty"));
}
let path = format!("/agent-integrations/apify/runs/{run_id}");
tracing::debug!(
run_id = run_id,
"[apify_get_run_status] fetching run status"
);
match self.client.get::<ApifyRunResponse>(&path).await {
Ok(resp) => {
tracing::debug!(
run_id = %resp.run_id,
dataset_id = resp.dataset_id.as_deref().unwrap_or(""),
status = %resp.status,
cost_usd = resp.cost_usd,
"[apify_get_run_status] fetched run status"View on GitHub (pinned to 7491200858)
Solutions
- Pass the run_id exactly as returned by the earlier apify_run_actor call
- Check the run id was not truncated when copying
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/openhuman/integrations/tools/apify.rs:313 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/7c2bf6c4967f0348.
Report an issue: GitHub.