openclaw - 💡(How to fix) Fix [Bug] Feishu message delivery fails with 'Unknown target jaydenli' [1 participants]

Official PRs (…)
ON THIS PAGE

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#62468Fetched 2026-04-08 03:03:52
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Timeline (top)
referenced ×1

Error Message

  1. Better error message: 'target must be user:open_id or chat:chat_id format, got username'

Code Example

[tools] message failed: Unknown target "jaydenli" for Feishu. Hint: <chatId|user:openId|chat:chatId> raw_params={"action":"send","target":"jaydenli",...}
RAW_BUFFERClick to expand / collapse

Bug Description

When the Feishu channel plugin tries to send a message to target 'jaydenli' (a username), it fails with 'Unknown target jaydenli'. The Feishu plugin requires open_id or chat_id format, not display names.

Log Evidence

[tools] message failed: Unknown target "jaydenli" for Feishu. Hint: <chatId|user:openId|chat:chatId> raw_params={"action":"send","target":"jaydenli",...}

Impact

  • Automated messages (like JST daily reports) fail to deliver
  • User receives no notifications from cron-triggered agents

Suggested Fix

  1. Accept username and resolve to open_id internally (requires lookup)
  2. Better error message: 'target must be user:open_id or chat:chat_id format, got username'
  3. Or: provide /user-lookup command to resolve usernames to open_ids

extent analysis

TL;DR

Modify the Feishu channel plugin to accept usernames and resolve them to open_id internally or provide an alternative way to map usernames to open_ids.

Guidance

  • The Feishu plugin currently requires open_id or chat_id format, so modifying it to accept usernames and perform a lookup to resolve to open_id is a likely solution.
  • To verify the fix, test sending a message to a target using the username format and check if the message is delivered successfully.
  • Consider adding a better error message to inform users of the required target format, such as 'target must be user:open_id or chat:chat_id format, got username'.
  • Providing a /user-lookup command can be a temporary workaround to allow users to resolve usernames to open_ids manually.

Example

No code snippet is provided as the issue does not contain sufficient information about the plugin's implementation details.

Notes

The suggested fix requires additional functionality to perform the username to open_id lookup, which may involve integrating with the Feishu API or maintaining a local mapping of usernames to open_ids.

Recommendation

Apply workaround: Provide a /user-lookup command to resolve usernames to open_ids, as this can be a quicker solution to implement and allows users to continue using the plugin while a more permanent fix is developed.

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