Skip to content

Misleading error when channel block is missing during channels login #77508

Description

@xooid

openclaw channels login --channel whatsapp succeeds and saves credentials, but if channels.whatsapp doesn't exist in openclaw.json, gateway returns:

Local login saved auth for whatsapp/default, but the running gateway did not restart it: invalid channels.start channel

Two problems:

  1. invalid channels.start channel is opaque. The channel isn't invalid, it's unconfigured. A clearer message would be something like:

    channel not enabled in config; run `openclaw config set channels.whatsapp.enabled true` and restart.
    
  2. channels login should either auto-write a minimal channels.<name> stanza, or fail loudly before saving auth.

Metadata

Metadata

Assignees

Labels

P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions