Environment
- lark-cli version: 1.0.8
- OS: Linux Ubuntu 22.04
- Node.js: v20.15.1
Description
When sending interactive cards via lark-cli and clicking buttons, the action fails with error code 99992354.
Error message:
[Feishu] Send failed: [99992354] The request you send is not a valid {open_message_id} or not exists
Invalid ids: [c-07931de9f772ac08f1f3516ac0e0f4ad25afec68]
Steps to Reproduce
- Send interactive card with button
- Click the button in Feishu client
- Error occurs
Root Cause
The error ID c-xxx is a card callback ID, not a message ID. Feishu sends card interaction events via WebSocket, but lark-cli doesn't handle these callbacks.
Expected Behavior
Card buttons should work, or documentation should clarify that CLI-sent cards have non-functional buttons.
Suggested Fix
- Add card callback event handling in lark-cli
- Or add
--listen mode to receive WebSocket events
- Or document this limitation clearly
Use Case
We use lark-cli with hermes-agent for AI assistant integration. Card buttons would enable approval workflows and interactive features.
Verified Features (Working)
- ✅ Send text/card messages
- ✅ Streaming card updates via PATCH API
- ✅ Calendar/docs/tasks operations
- ✅ User authorization (7 days)
Environment
Description
When sending interactive cards via lark-cli and clicking buttons, the action fails with error code
99992354.Error message:
Steps to Reproduce
Root Cause
The error ID
c-xxxis a card callback ID, not a message ID. Feishu sends card interaction events via WebSocket, but lark-cli doesn't handle these callbacks.Expected Behavior
Card buttons should work, or documentation should clarify that CLI-sent cards have non-functional buttons.
Suggested Fix
--listenmode to receive WebSocket eventsUse Case
We use lark-cli with hermes-agent for AI assistant integration. Card buttons would enable approval workflows and interactive features.
Verified Features (Working)