{"record":{"id":"7a327ee15576fc37","repo":"tinyhumansai/openhuman","slug":"find-action-fill-requires-fill-value","errorCode":null,"errorMessage":"find_action='fill' requires fill_value","messagePattern":"find_action='fill' requires fill_value","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/tools/impl/browser/native_backend.rs","lineNumber":278,"sourceCode":"            }\n            BrowserAction::Find {\n                by,\n                value,\n                action,\n                fill_value,\n            } => {\n                let client = self.active_client()?;\n                let selector = selector_for_find(&by, &value);\n                let element = find_element(client, &selector).await?;\n\n                let payload = match action.as_str() {\n                    \"click\" => {\n                        element.click().await?;\n                        json!({\"result\": \"clicked\"})\n                    }\n                    \"fill\" => {\n                        let fill = fill_value.ok_or_else(|| {\n                            anyhow::anyhow!(\"find_action='fill' requires fill_value\")\n                        })?;\n                        let _ = element.clear().await;\n                        element.send_keys(&fill).await?;\n                        json!({\"result\": \"filled\", \"typed\": fill.len()})\n                    }\n                    \"text\" => {\n                        let text = element.text().await?;\n                        json!({\"result\": \"text\", \"text\": text})\n                    }\n                    \"hover\" => {\n                        hover_element(client, &element).await?;\n                        json!({\"result\": \"hovered\"})\n                    }\n                    \"check\" => {\n                        let checked_before = element_checked(&element).await?;\n                        if !checked_before {\n                            element.click().await?;\n                        }","sourceCodeStart":260,"sourceCodeEnd":296,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/tools/impl/browser/native_backend.rs#L260-L296","documentation":"Guard in the native browser backend's Find handling: find_action is \"fill\" but no `fill_value` argument was supplied, so the located element has nothing to type. The element was already found; only the fill payload is missing.","triggerScenarios":"Thrown at src/openhuman/tools/impl/browser/native_backend.rs:278 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Include `fill_value` as a string when find_action is fill","Or use a different find_action (click, get_text) if filling was not intended"],"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"}