zeroclaw-labs/zeroclaw · error · anyhow::Error
Value cannot be empty.
Error message
Value cannot be empty.
What it means
Error "Value cannot be empty." thrown in zeroclaw-labs/zeroclaw.
Source
Thrown at src/main.rs:5585
anyhow::Error::msg(format!(
"Value required in --no-interactive mode. Usage: zeroclaw config set --no-interactive {path} <value>"
))
})?;
config.set_prop_persistent(&path, &val)?;
} else if Config::prop_is_secret(&path) {
if value.is_some() {
eprintln!(
" \u{26a0} {path} is an encrypted secret \u{2014} using masked input."
);
}
let secret_value = secret_prompt(&format!("Enter value for {path}"), false)?
.trim()
.to_string();
if !secret_value.is_empty() {
eprintln!("{}", ta("cli-secret-received", &[], " ✓ Secret received"));
}
if secret_value.is_empty() {
anyhow::bail!("Value cannot be empty.");
}
config.set_prop_persistent(&path, &secret_value)?;
} else if let Some(val) = value {
config.set_prop_persistent(&path, &val)?;
} else if let Some(provider_type) = model_path_provider_type(&path) {
use dialoguer::{FuzzySelect, Input};
let provider_ref = path
.split('.')
.nth(3)
.map(|alias| format!("{provider_type}.{alias}"));
let catalog_selector = provider_ref.as_deref().unwrap_or(provider_type);
let (models, _pricing, live) =
zeroclaw_runtime::quickstart::model_catalog_with_config(
Some(&config),
catalog_selector,
)
.await;
if live && !models.is_empty() {View on GitHub (pinned to 88bb9c8533)
Solutions
- Provide a non-empty value for the setting.
- Check that the value is not only whitespace and retry.
When it happens
Trigger: Thrown at src/main.rs:5585 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zeroclaw-labs/zeroclaw@88bb9c8533 (2026-08-23).
Data as JSON: /api/errors/f02bb9ea0002af3e.
Report an issue: GitHub.