tinyhumansai/openhuman · error · anyhow::Error
Missing required parameter: actor_id
Error message
Missing required parameter: actor_id
What it means
Required-parameter guard at the top of the Apify run-actor tool's execute: the `actor_id` argument is absent or not a string, so no Apify actor can be identified. The schema marks `actor_id` and `input` required; this is the fast-fail before any API call. An empty (but present) actor_id is rejected separately with a ToolResult error.
Source
Thrown at src/openhuman/integrations/tools/apify.rs:204
}
},
"required": ["actor_id", "input"]
})
}
fn permission_level(&self) -> PermissionLevel {
PermissionLevel::Execute
}
fn category(&self) -> ToolCategory {
ToolCategory::Workflow
}
async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {
let actor_id = args
.get("actor_id")
.and_then(|v| v.as_str())
.ok_or_else(|| anyhow::anyhow!("Missing required parameter: actor_id"))?;
if actor_id.trim().is_empty() {
return Ok(ToolResult::error("actor_id cannot be empty"));
}
let Some(input) = args.get("input") else {
return Err(anyhow::anyhow!("Missing required parameter: input"));
};
if !input.is_object() {
return Ok(ToolResult::error("input must be a JSON object"));
}
let sync = args.get("sync").and_then(|v| v.as_bool()).unwrap_or(true);
let timeout_secs = args
.get("timeout_secs")
.and_then(|v| v.as_u64())
.unwrap_or(120)
.clamp(1, 3600);
let memory_mbytes = argsView on GitHub (pinned to 7491200858)
Solutions
- Supply actor_id as the Apify actor's identifier (e.g. 'apify/web-scraper')
- Copy the actor id from the Apify store URL
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/openhuman/integrations/tools/apify.rs:204 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/3c44077c8e60deae.
Report an issue: GitHub.