{"record":{"id":"3c44077c8e60deae","repo":"tinyhumansai/openhuman","slug":"missing-required-parameter-actor-id","errorCode":null,"errorMessage":"Missing required parameter: actor_id","messagePattern":"Missing required parameter: actor_id","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/integrations/tools/apify.rs","lineNumber":204,"sourceCode":"                }\n            },\n            \"required\": [\"actor_id\", \"input\"]\n        })\n    }\n\n    fn permission_level(&self) -> PermissionLevel {\n        PermissionLevel::Execute\n    }\n\n    fn category(&self) -> ToolCategory {\n        ToolCategory::Workflow\n    }\n\n    async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {\n        let actor_id = args\n            .get(\"actor_id\")\n            .and_then(|v| v.as_str())\n            .ok_or_else(|| anyhow::anyhow!(\"Missing required parameter: actor_id\"))?;\n        if actor_id.trim().is_empty() {\n            return Ok(ToolResult::error(\"actor_id cannot be empty\"));\n        }\n\n        let Some(input) = args.get(\"input\") else {\n            return Err(anyhow::anyhow!(\"Missing required parameter: input\"));\n        };\n        if !input.is_object() {\n            return Ok(ToolResult::error(\"input must be a JSON object\"));\n        }\n\n        let sync = args.get(\"sync\").and_then(|v| v.as_bool()).unwrap_or(true);\n        let timeout_secs = args\n            .get(\"timeout_secs\")\n            .and_then(|v| v.as_u64())\n            .unwrap_or(120)\n            .clamp(1, 3600);\n        let memory_mbytes = args","sourceCodeStart":186,"sourceCodeEnd":222,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/integrations/tools/apify.rs#L186-L222","documentation":"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.","triggerScenarios":"Thrown at src/openhuman/integrations/tools/apify.rs:204 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Supply actor_id as the Apify actor's identifier (e.g. 'apify/web-scraper')","Copy the actor id from the Apify store URL"],"exampleFix":null,"handlingStrategy":"validation","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"}