openclaw - 💡(How to fix) Fix [Bug]: message tool returns 400 error for Feishu channel user targets [2 comments, 2 participants]

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…
GitHub stats
openclaw/openclaw#73860Fetched 2026-04-29 06:14:08
View on GitHub
Comments
2
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
commented ×2mentioned ×1subscribed ×1

Error Message

Error Log

Code Example

[tools] message failed: Request failed with status code 400
raw_params={action:send,channel:feishu,target:user:ou_xxx...,message:...}
RAW_BUFFERClick to expand / collapse

Describe the bug

The message tool consistently returns HTTP 400 (Bad Request) errors when sending to specific Feishu user targets, while group chat sends work normally.

Error Log

[tools] message failed: Request failed with status code 400
raw_params={action:send,channel:feishu,target:user:ou_xxx...,message:...}

Environment

  • OS: Windows_NT 10.0.20348 (x64)
  • OpenClaw: v2026.4.26
  • Channel: Feishu
  • API Type: message tool, action=send

Reproduction Steps

  1. Use message tool with action=send
  2. Set channel=feishu
  3. Set target=user:ou_<open_id>
  4. Send message

Result: 400 Bad Request

Observations

  • Same tool with group chat target works correctly
  • The feishu_chat tool also returns 400 for member_info lookups during the same failure window
  • Issue may be related to the session routing problem (see related issue)

Impact

  • Cannot send direct messages to Feishu users via the message tool
  • Agent-to-agent coordination through direct Feishu messages is broken
  • Affects multi-agent workflows that rely on Feishu DM communication

extent analysis

TL;DR

The issue may be resolved by investigating and fixing the session routing problem, which is likely causing the message tool to fail when sending to specific Feishu user targets.

Guidance

  • Verify that the feishu_chat tool's 400 errors for member_info lookups are related to the same session routing issue, as this could indicate a broader problem with Feishu API interactions.
  • Check the related issue mentioned in the Observations section to see if there are any known workarounds or fixes for the session routing problem.
  • Test sending messages to Feishu users using a different tool or API, if available, to isolate the issue to the message tool or the Feishu API.
  • Review the raw_params in the Error Log to ensure that the target parameter is correctly formatted and that the ou_xxx open_id is valid.

Example

No code snippet is provided as the issue does not contain sufficient information to create a relevant example.

Notes

The issue may be specific to the Feishu API or the message tool's implementation, and further investigation is needed to determine the root cause. Additionally, the related issue mentioned in the Observations section may contain valuable information for resolving this problem.

Recommendation

Apply workaround: Investigate and fix the session routing problem, as it is likely the root cause of the issue. This is recommended because the issue is specific to the message tool and Feishu user targets, and fixing the underlying session routing problem may resolve the issue.

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]: message tool returns 400 error for Feishu channel user targets [2 comments, 2 participants]