openclaw - 💡(How to fix) Fix [Bug] "channels add" overwrites existing account instead of creating new one

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

The openclaw channels add command incorrectly overwrites the existing default account instead of creating a new entry when a unique --account name is provided. The CLI reports success, but the resulting configuration is incorrect.

Root Cause

The openclaw channels add command incorrectly overwrites the existing default account instead of creating a new entry when a unique --account name is provided. The CLI reports success, but the resulting configuration is incorrect.

RAW_BUFFERClick to expand / collapse

Description

The openclaw channels add command incorrectly overwrites the existing default account instead of creating a new entry when a unique --account name is provided. The CLI reports success, but the resulting configuration is incorrect.

Steps to Reproduce

  1. Start with an existing WeCom account named default.
  2. Execute: openclaw channels add --channel wecom --account wuxingkangWecom --token "<NEW_BOT_ID>" --secret "<NEW_SECRET>".
  3. The CLI output confirms: Added 企业微信 account "wuxingkangwecom".
  4. Run openclaw channels list or inspect openclaw.json.

Actual Behavior

The wuxingkangwecom account is missing from the list. Instead, the default account in openclaw.json has had its botId and secret updated to the new values, effectively losing the original default configuration and failing to add the second account.

Environment

  • OpenClaw version: 2026.5.7
  • OS: Linux (Docker)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING