Skip to content

[Bug]: Cron job announce delivery ignores configured channel, routes to unconfigured whatsapp #13420

@clockworksoul

Description

@clockworksoul

Summary

Cron job announce delivery ignores the channel field in the job's delivery config and routes to the wrong channel. The delivery config explicitly specifies channel: "telegram" but the system attempts delivery via whatsapp (which is not configured), producing Unsupported channel: whatsapp.

Environment

  • OpenClaw: 2026.2.6-3
  • OS: macOS 25.2.0 (arm64)
  • Node: v24.7.0
  • Gateway: local, port 18789
  • Channels configured: telegram, slack (no whatsapp)

Delivery Config on Job

{
  "mode": "announce",
  "channel": "telegram",
  "to": "8519725519"
}

Error History

The job has been erroring for weeks with two different failure modes:

  1. ~40 runs: Error: An API error occurred: channel_not_found (Slack API error, suggesting it tried Slack despite config saying telegram)
  2. Last 2 runs: Unsupported channel: whatsapp (whatsapp is not configured at all)

The job payload itself always succeeds (git backup completes fine) — only the announce delivery fails.

Other Jobs Work Fine

12+ other cron jobs with identical delivery config (channel: "telegram", to: "8519725519") deliver successfully. Only this one job (hourly backup, sessionTarget: "isolated", payload.kind: "agentTurn") routes incorrectly.

Workaround

Switching delivery to channel: "slack" resolved the issue.

Possibly Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions