tinyhumansai/openhuman · error · anyhow::Error
Missing 'value' for find
Error message
Missing 'value' for find
What it means
Action-argument validation in parse_browser_action: the `find` action was requested and its `by` parsed, but the required `value` argument (what to search for) is absent or not a string. Fires before any browser automation runs.
Source
Thrown at src/openhuman/tools/impl/browser/action_parser.rs:134
"is_visible" => {
let selector = args
.get("selector")
.and_then(|v| v.as_str())
.ok_or_else(|| anyhow::anyhow!("Missing 'selector' for is_visible"))?;
Ok(BrowserAction::IsVisible {
selector: selector.into(),
})
}
"close" => Ok(BrowserAction::Close),
"find" => {
let by = args
.get("by")
.and_then(|v| v.as_str())
.ok_or_else(|| anyhow::anyhow!("Missing 'by' for find"))?;
let value = args
.get("value")
.and_then(|v| v.as_str())
.ok_or_else(|| anyhow::anyhow!("Missing 'value' for find"))?;
let action = args
.get("find_action")
.and_then(|v| v.as_str())
.ok_or_else(|| anyhow::anyhow!("Missing 'find_action' for find"))?;
Ok(BrowserAction::Find {
by: by.into(),
value: value.into(),
action: action.into(),
fill_value: args
.get("fill_value")
.and_then(|v| v.as_str())
.map(String::from),
})
}
other => anyhow::bail!("Unsupported browser action: {other}"),
}
}
View on GitHub (pinned to 7491200858)
Solutions
- Include `value` as the string the `by` strategy matches
- Also provide `find_action` in the same call
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/openhuman/tools/impl/browser/action_parser.rs:134 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/6fcb52ece029cf33.
Report an issue: GitHub.