{"record":{"id":"f02bb9ea0002af3e","repo":"zeroclaw-labs/zeroclaw","slug":"value-cannot-be-empty","errorCode":null,"errorMessage":"Value cannot be empty.","messagePattern":"Value cannot be empty\\.","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/main.rs","lineNumber":5585,"sourceCode":"                        anyhow::Error::msg(format!(\n                            \"Value required in --no-interactive mode. Usage: zeroclaw config set --no-interactive {path} <value>\"\n                        ))\n                    })?;\n                    config.set_prop_persistent(&path, &val)?;\n                } else if Config::prop_is_secret(&path) {\n                    if value.is_some() {\n                        eprintln!(\n                            \"  \\u{26a0} {path} is an encrypted secret \\u{2014} using masked input.\"\n                        );\n                    }\n                    let secret_value = secret_prompt(&format!(\"Enter value for {path}\"), false)?\n                        .trim()\n                        .to_string();\n                    if !secret_value.is_empty() {\n                        eprintln!(\"{}\", ta(\"cli-secret-received\", &[], \"  ✓ Secret received\"));\n                    }\n                    if secret_value.is_empty() {\n                        anyhow::bail!(\"Value cannot be empty.\");\n                    }\n                    config.set_prop_persistent(&path, &secret_value)?;\n                } else if let Some(val) = value {\n                    config.set_prop_persistent(&path, &val)?;\n                } else if let Some(provider_type) = model_path_provider_type(&path) {\n                    use dialoguer::{FuzzySelect, Input};\n                    let provider_ref = path\n                        .split('.')\n                        .nth(3)\n                        .map(|alias| format!(\"{provider_type}.{alias}\"));\n                    let catalog_selector = provider_ref.as_deref().unwrap_or(provider_type);\n                    let (models, _pricing, live) =\n                        zeroclaw_runtime::quickstart::model_catalog_with_config(\n                            Some(&config),\n                            catalog_selector,\n                        )\n                        .await;\n                    if live && !models.is_empty() {","sourceCodeStart":5567,"sourceCodeEnd":5603,"githubUrl":"https://github.com/zeroclaw-labs/zeroclaw/blob/88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc/src/main.rs#L5567-L5603","documentation":"Error \"Value cannot be empty.\" thrown in zeroclaw-labs/zeroclaw.","triggerScenarios":"Thrown at src/main.rs:5585 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide a non-empty value for the setting.","Check that the value is not only whitespace and retry."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc","analyzedAt":"2026-08-23T01:07:41.857Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}