openclaw - 💡(How to fix) Fix [Bug] Feishu channel dispatch broken in v2026.5.27-beta.1 — TypeError: Cannot read properties of undefined (reading 'run')

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…

After upgrading OpenClaw from v2026.5.26 to v2026.5.27-beta.1, the Feishu channel fails to dispatch incoming DM messages to the agent session.

Error Message

[feishu] feishu[default]: received message from ou_xxx in oc_xxx (p2p) [feishu] feishu[default]: Feishu[default] DM from ou_xxx: message [feishu] feishu[default]: dispatching to agent (session=agent:main:main) [feishu] feishu[default]: failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')

Root Cause

API change from core.channel.turn.run() to core.channel.inbound.run(). In 5.26, the channel runtime had channel.turn.run; in 5.27-beta.1 this was renamed to channel.inbound. The Feishu plugin runtime context does not have channel.inbound properly initialized, causing .run to be undefined.

Fix Action

Workaround

npm install -g [email protected]
systemctl --user restart openclaw-gateway

Code Example

[feishu] feishu[default]: received message from ou_xxx in oc_xxx (p2p)
[feishu] feishu[default]: Feishu[default] DM from ou_xxx: message
[feishu] feishu[default]: dispatching to agent (session=agent:main:main)
[feishu] feishu[default]: failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')

---

npm install -g openclaw@2026.5.26
systemctl --user restart openclaw-gateway
RAW_BUFFERClick to expand / collapse

Description

After upgrading OpenClaw from v2026.5.26 to v2026.5.27-beta.1, the Feishu channel fails to dispatch incoming DM messages to the agent session.

Steps to Reproduce

  1. Upgrade from v2026.5.26 to v2026.5.27-beta.1
  2. Send a DM to the bot via Feishu
  3. Observe the error in logs

Expected Behavior

Feishu DM messages should be dispatched to the agent session and receive a reply.

Actual Behavior

Feishu WebSocket receives the message but dispatch fails:

[feishu] feishu[default]: received message from ou_xxx in oc_xxx (p2p)
[feishu] feishu[default]: Feishu[default] DM from ou_xxx: message
[feishu] feishu[default]: dispatching to agent (session=agent:main:main)
[feishu] feishu[default]: failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')

Root Cause

API change from core.channel.turn.run() to core.channel.inbound.run(). In 5.26, the channel runtime had channel.turn.run; in 5.27-beta.1 this was renamed to channel.inbound. The Feishu plugin runtime context does not have channel.inbound properly initialized, causing .run to be undefined.

Impact

Feishu channel completely broken for DMs in 5.27-beta.1.

Workaround

npm install -g [email protected]
systemctl --user restart openclaw-gateway

Environment

  • v2026.5.27-beta.1 (a9aaeea), upgraded from v2026.5.26 (10ad3aa)
  • Feishu mode: websocket, DM policy: open
  • Ubuntu 24.04, Node.js v22.22.2

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