zeroclaw-labs/zeroclaw · error

Channel type '{channel_type}' — use `zeroclaw config set cha

Error message

Channel type '{channel_type}' — use `zeroclaw config set channels.{channel_type}.<alias>.<field>=<value>` to configure

What it means

Error "Channel type '{channel_type}' — use `zeroclaw config set channels.{channel_type}.<alias>.<field>=<value>` to configure" thrown in zeroclaw-labs/zeroclaw.

Source

Thrown at src/channels/mod.rs:78

                println!(
                    "{}",
                    get_required_cli_string_with_args(
                        "cli-channels-notion",
                        &[("status", if notion_configured { "✅" } else { "❌" })],
                    )
                );
            }
            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. Configure the channel with `zeroclaw config set channels.<channel_type>.<alias>.<field>=<value>` as the message suggests.
  2. Check the channel type spelling against the supported channel types in the documentation.

When it happens

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