zeroclaw-labs/zeroclaw · error

Remove channel '{name}' — edit ~/.zeroclaw/config.toml direc

Error message

Remove channel '{name}' — edit ~/.zeroclaw/config.toml directly

What it means

Error "Remove channel '{name}' — edit ~/.zeroclaw/config.toml directly" thrown in zeroclaw-labs/zeroclaw.

Source

Thrown at src/channels/mod.rs:83

                    )
                );
            }
            println!();
            println!("{}", get_required_cli_string("cli-channels-start-hint"));
            println!("{}", get_required_cli_string("cli-channels-doctor-hint"));
            println!("{}", get_required_cli_string("cli-channels-configure-hint"));
            Ok(())
        }
        crate::ChannelCommands::Add {
            channel_type,
            config: _,
        } => {
            anyhow::bail!(
                "Channel type '{channel_type}' — use `zeroclaw config set channels.{channel_type}.<alias>.<field>=<value>` to configure"
            );
        }
        crate::ChannelCommands::Remove { name } => {
            anyhow::bail!("Remove channel '{name}' — edit ~/.zeroclaw/config.toml directly");
        }
        crate::ChannelCommands::BindTelegram { identity, alias } => {
            Box::pin(bind_telegram_identity(config, &identity, &alias)).await
        }
        crate::ChannelCommands::Send {
            message,
            channel_id,
            recipient,
        } => send_channel_message(config, &channel_id, &recipient, &message).await,
    }
}

View on GitHub (pinned to 88bb9c8533)

Solutions

  1. Edit ~/.zeroclaw/config.toml directly and remove the channel's table, then restart zeroclaw.
  2. Back up config.toml before editing so the removal can be rolled back.

When it happens

Trigger: Thrown at src/channels/mod.rs:83 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/9205db75b9e0d1d0. Report an issue: GitHub.