openclaw - 💡(How to fix) Fix [Bug] Feishu dispatch fails after upgrade to v2026.5.27 on Windows - 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…

Error Message

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

Root Cause

  • #87646 - Same bug on Linux (P1, most detailed)
  • #88073 - Same bug, identified root cause in runtime bundle
  • #88024 - Same bug on Linux

Fix Action

Workaround

Rollback to v2026.5.22:

openclaw gateway stop
npm install -g openclaw@2026.5.22
openclaw gateway start

Code Example

feishu[default]: received message from ou_8bcc4... in oc_c8bc... (p2p)
feishu[default]: Feishu[default] DM from ou_8bcc4...: message content
feishu[default]: dispatching to agent (session=agent:main:feishu:direct:ou_8bcc4...)
feishu[default]: dispatch complete (queuedFinal=true, replies=1)

---

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

---

2026-05-29T14:59:04.396Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')
2026-05-29T15:04:12.822Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')
2026-05-29T15:06:55.336Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')
2026-05-29T15:09:03.194Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')
2026-05-29T15:19:12.607Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')

---

feishu[default]: received message from ou_8bcc4... in oc_c8bc... (p2p)
feishu[default]: dispatching to agent (session=agent:main:feishu:direct:ou_8bcc4...)
feishu[default]: dispatch complete (queuedFinal=true, replies=1)

---

gateway: loading configuration...
gateway: resolving authentication...
gateway: starting...
gateway: starting HTTP server...
gateway: agent model: zai/GLM-5.1 (thinking=medium, fast=off)
gateway: http server listening (3 plugins: feishu, memory-core, tavily; 4.1s)
gateway: gateway ready
channels/feishu: starting feishu[default] (mode: websocket)
feishu: client ready
feishu: bot open_id resolved: ou_6941405dd6fb0133ef5fccf1709ed486
feishu: event-dispatch is ready
feishu: WebSocket client started
feishu: ws client ready

---

openclaw gateway stop
npm install -g openclaw@2026.5.22
openclaw gateway start
RAW_BUFFERClick to expand / collapse

Bug Description

After upgrading from v2026.5.22 to v2026.5.27, the feishu channel fails to dispatch incoming direct messages. The bot receives messages via WebSocket, resolves the session key, but fails to dispatch to the agent runtime. Rolling back to v2026.5.22 resolves the issue immediately.

Environment

FieldValue
OpenClawv2026.5.27 (upgraded from v2026.5.22)
OSWindows 10.0.26200 (x64)
Node.jsv24.14.0
Channelfeishu (WebSocket mode)
Gateway modelocal (bind=loopback)
Agent runtimezai/GLM-5.1
Pluginsfeishu, memory-core, tavily

Timeline

  1. v2026.5.22 running normally - feishu DM dispatch works (confirmed at 2026-05-29 14:18-14:45 UTC+8)
  2. Upgraded to v2026.5.27 - manual upgrade
  3. First dispatch failure at 2026-05-29 14:59:04 UTC+8 - right after upgrade restart
  4. Multiple retry restarts - 15:04, 15:06:55, 15:09:03, 15:19:12 - all fail with same error
  5. Rolled back to v2026.5.22 at ~2026-05-29 23:33 UTC+8
  6. v2026.5.22 running normally - dispatch succeeds again (confirmed at 2026-05-30 09:03 UTC+8)

Logs

Before upgrade (v2026.5.22, working):

feishu[default]: received message from ou_8bcc4... in oc_c8bc... (p2p)
feishu[default]: Feishu[default] DM from ou_8bcc4...: message content
feishu[default]: dispatching to agent (session=agent:main:feishu:direct:ou_8bcc4...)
feishu[default]: dispatch complete (queuedFinal=true, replies=1)

After upgrade (v2026.5.27, broken):

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

Error source: subsystem-1gTaEPwP.js:179:14

Multiple restart attempts all fail:

2026-05-29T14:59:04.396Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')
2026-05-29T15:04:12.822Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')
2026-05-29T15:06:55.336Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')
2026-05-29T15:09:03.194Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')
2026-05-29T15:19:12.607Z - failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')

After rollback (v2026.5.22, working again):

feishu[default]: received message from ou_8bcc4... in oc_c8bc... (p2p)
feishu[default]: dispatching to agent (session=agent:main:feishu:direct:ou_8bcc4...)
feishu[default]: dispatch complete (queuedFinal=true, replies=1)

Startup Sequence (v2026.5.27)

Gateway starts up cleanly - all initialization steps succeed:

gateway: loading configuration...
gateway: resolving authentication...
gateway: starting...
gateway: starting HTTP server...
gateway: agent model: zai/GLM-5.1 (thinking=medium, fast=off)
gateway: http server listening (3 plugins: feishu, memory-core, tavily; 4.1s)
gateway: gateway ready
channels/feishu: starting feishu[default] (mode: websocket)
feishu: client ready
feishu: bot open_id resolved: ou_6941405dd6fb0133ef5fccf1709ed486
feishu: event-dispatch is ready
feishu: WebSocket client started
feishu: ws client ready

Everything looks healthy during startup. The error only triggers when an actual message arrives.

Additional Observations

  1. webchat channel works fine on v2026.5.27 - the Control UI connects and dispatches messages normally (webchat messages go through while feishu messages fail)
  2. No config changes between upgrade and rollback
  3. Windows-confirmed - the existing reports (#87646, #88073, #88024) are all Linux; this confirms the bug also affects Windows
  4. Node.js v24.14.0 - same runtime as the Linux reports

Related Issues

  • #87646 - Same bug on Linux (P1, most detailed)
  • #88073 - Same bug, identified root cause in runtime bundle
  • #88024 - Same bug on Linux

Workaround

Rollback to v2026.5.22:

openclaw gateway stop
npm install -g openclaw@2026.5.22
openclaw gateway start

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

openclaw - 💡(How to fix) Fix [Bug] Feishu dispatch fails after upgrade to v2026.5.27 on Windows - TypeError Cannot read properties of undefined reading run