{"record":{"id":"222c7af41841046b","repo":"tinyhumansai/openhuman","slug":"unknown-action-action-valid-get-set-disabl","errorCode":null,"errorMessage":"Unknown action '{action}'. Valid: get, set, disable, list_services, apply_env, clear_env","messagePattern":"Unknown action '(.+?)'\\. Valid: get, set, disable, list_services, apply_env, clear_env","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/tools/impl/system/proxy_config.rs","lineNumber":392,"sourceCode":"            .to_ascii_lowercase();\n\n        let result = match action.as_str() {\n            \"get\" => self.handle_get(),\n            \"list_services\" => self.handle_list_services(),\n            \"set\" | \"disable\" | \"apply_env\" | \"clear_env\" => {\n                if let Some(blocked) = self.require_write_access() {\n                    return Ok(blocked);\n                }\n\n                match action.as_str() {\n                    \"set\" => self.handle_set(&args).await,\n                    \"disable\" => self.handle_disable(&args).await,\n                    \"apply_env\" => self.handle_apply_env(),\n                    \"clear_env\" => self.handle_clear_env(),\n                    _ => unreachable!(\"handled above\"),\n                }\n            }\n            _ => anyhow::bail!(\n                \"Unknown action '{action}'. Valid: get, set, disable, list_services, apply_env, clear_env\"\n            ),\n        };\n\n        match result {\n            Ok(outcome) => Ok(outcome),\n            Err(error) => Ok(ToolResult::error(error.to_string())),\n        }\n    }\n}\n\n#[cfg(test)]\n#[path = \"proxy_config_tests.rs\"]\nmod tests;\n","sourceCodeStart":374,"sourceCodeEnd":407,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/tools/impl/system/proxy_config.rs#L374-L407","documentation":"The proxy_config dispatcher lowercased the action string and found no matching handler among get, set, disable, list_services, apply_env and clear_env, so the tool cannot decide what to do and rejects the call.","triggerScenarios":"Thrown at src/openhuman/tools/impl/system/proxy_config.rs:392 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of: get, set, disable, list_services, apply_env, clear_env","Check the action field for typos"],"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"}