openclaw - 💡(How to fix) Fix [Bug] Feishu inbound message dispatch fails: agent.run is undefined

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…

When receiving a message from Feishu channel, the message dispatch fails with error:

The error occurs at - the agent object is not properly initialized, causing method to be undefined.

Error Message

When receiving a message from Feishu channel, the message dispatch fails with error: The error occurs at - the agent object is not properly initialized, causing method to be undefined. 5. Fails with error:

Root Cause

When receiving a message from Feishu channel, the message dispatch fails with error:

The error occurs at - the agent object is not properly initialized, causing method to be undefined.

Fix Action

Workaround

CLI agent command works fine: 收到啦!🦞 时间戳都正常显示了,飞书 → OpenClaw 这条路通了!

之前可能是 WebSocket 短暂断了,重启后就恢复了。一切正常 ✅

This confirms the Gateway is functional, but the inbound message routing has a bug.

RAW_BUFFERClick to expand / collapse

Description

When receiving a message from Feishu channel, the message dispatch fails with error:

The error occurs at - the agent object is not properly initialized, causing method to be undefined.

Environment

  • OpenClaw version: 2026.5.28
  • Gateway: running on ws://127.0.0.1:18789
  • Feishu channel: enabled, configured, WebSocket connected

Steps to Reproduce

  1. Configure Feishu channel with app_id and app_secret

  2. Receive any message from Feishu DM or group

  3. The message is received and logged:

  4. Dispatch is attempted:

  5. Fails with error:

Workaround

CLI agent command works fine: 收到啦!🦞 时间戳都正常显示了,飞书 → OpenClaw 这条路通了!

之前可能是 WebSocket 短暂断了,重启后就恢复了。一切正常 ✅

This confirms the Gateway is functional, but the inbound message routing has a bug.

Expected Behavior

Feishu inbound messages should be dispatched to the agent (session=agent:main:main) similar to other channels.

Logs

Additional Context

  • Outbound messages (via CLI) work correctly
  • Gateway health check passes
  • Other channels not tested

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 inbound message dispatch fails: agent.run is undefined