{"record":{"id":"82abe40f0f688de7","repo":"tinyhumansai/openhuman","slug":"key-value-exceeds-configured-limit-limit","errorCode":null,"errorMessage":"'{key}'={value} exceeds configured limit {limit}","messagePattern":"'(.+?)'=(.+?) exceeds configured limit (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/tools/impl/browser/browser.rs","lineNumber":562,"sourceCode":"            )\n            .await\n            .context(\"Playwright browser action failed\")?;\n\n        Ok(ToolResult::success(\n            serde_json::to_string_pretty(&output).unwrap_or_default(),\n        ))\n    }\n\n    fn validate_coordinate(&self, key: &str, value: i64, max: Option<i64>) -> anyhow::Result<()> {\n        if value < 0 {\n            anyhow::bail!(\"'{key}' must be >= 0\")\n        }\n        if let Some(limit) = max {\n            if limit < 0 {\n                anyhow::bail!(\"Configured coordinate limit for '{key}' must be >= 0\")\n            }\n            if value > limit {\n                anyhow::bail!(\"'{key}'={value} exceeds configured limit {limit}\")\n            }\n        }\n        Ok(())\n    }\n\n    fn read_required_i64(\n        &self,\n        params: &serde_json::Map<String, Value>,\n        key: &str,\n    ) -> anyhow::Result<i64> {\n        params\n            .get(key)\n            .and_then(Value::as_i64)\n            .ok_or_else(|| anyhow::anyhow!(\"Missing or invalid '{key}' parameter\"))\n    }\n\n    fn validate_computer_use_action(\n        &self,","sourceCodeStart":544,"sourceCodeEnd":580,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/tools/impl/browser/browser.rs#L544-L580","documentation":"validate_coordinate rejects a coordinate exceeding the configured per-key maximum. This bounds automation input to the plausible viewport/config range, catching out-of-range model output before it reaches the backend.","triggerScenarios":"Thrown at src/openhuman/tools/impl/browser/browser.rs:562 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a coordinate within the configured limit for that key.","Raise the configured limit if larger coordinates are legitimately needed."],"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-14T05:17:10.506Z"}