{"record":{"id":"7c2bf6c4967f0348","repo":"tinyhumansai/openhuman","slug":"missing-required-parameter-run-id","errorCode":null,"errorMessage":"Missing required parameter: run_id","messagePattern":"Missing required parameter: run_id","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/integrations/tools/apify.rs","lineNumber":313,"sourceCode":"            \"properties\": {\n                \"run_id\": {\n                    \"type\": \"string\",\n                    \"description\": \"Apify run ID returned by apify_run_actor\"\n                }\n            },\n            \"required\": [\"run_id\"]\n        })\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 run_id = args\n            .get(\"run_id\")\n            .and_then(|v| v.as_str())\n            .ok_or_else(|| anyhow::anyhow!(\"Missing required parameter: run_id\"))?;\n        if run_id.trim().is_empty() {\n            return Ok(ToolResult::error(\"run_id cannot be empty\"));\n        }\n\n        let path = format!(\"/agent-integrations/apify/runs/{run_id}\");\n        tracing::debug!(\n            run_id = run_id,\n            \"[apify_get_run_status] fetching run status\"\n        );\n\n        match self.client.get::<ApifyRunResponse>(&path).await {\n            Ok(resp) => {\n                tracing::debug!(\n                    run_id = %resp.run_id,\n                    dataset_id = resp.dataset_id.as_deref().unwrap_or(\"\"),\n                    status = %resp.status,\n                    cost_usd = resp.cost_usd,\n                    \"[apify_get_run_status] fetched run status\"","sourceCodeStart":295,"sourceCodeEnd":331,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/integrations/tools/apify.rs#L295-L331","documentation":"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.","triggerScenarios":"Thrown at src/openhuman/integrations/tools/apify.rs:313 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass the run_id exactly as returned by the earlier apify_run_actor call","Check the run id was not truncated when copying"],"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"}