Skip to content

[Bug]: Slack message tool lowercases channel IDs, causing 'Unknown channel' errors #14010

@lisa-freddie

Description

@lisa-freddie

Summary

The message tool lowercases Slack channel IDs before passing them to the Slack API. Slack channel IDs are case-sensitive (e.g. D0ADSDZ345P for DMs), so the lowercased version (d0adsdz345p) fails with Unknown channel.

This appears to affect all message tool actions (react, send, etc.) when the channel/target parameter contains uppercase letters.

Steps to reproduce

  1. Configure OpenClaw with Slack channel
  2. Use the message tool with action: react targeting a DM channel (IDs starting with D are always mixed-case)
  3. Pass the correct channel ID: D0ADSDZ345P
  4. Observe the error shows the lowercased ID: d0adsdz345p

Expected behavior

Channel IDs should be passed to the Slack API exactly as provided, preserving original case.

Actual behavior

Channel ID is lowercased somewhere in the message tool pipeline before reaching the Slack API, causing Slack to reject it as unknown.

Error output:

Message: react · message 1770801808.157389 · emoji purple_heart failed:
Unknown channel: d0adsdz345p

Environment

  • OpenClaw version: latest (Feb 11, 2026)
  • OS: macOS (Darwin 25.2.0 arm64)
  • Channel: Slack
  • Install method: pnpm (global)

Logs or screenshots

The error is visible directly in chat — OpenClaw posts the failure as a message. The key evidence is the case mismatch between the provided ID (D0ADSDZ345P) and the ID in the error (d0adsdz345p).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions