Skip to content

Interactive card button clicks fail with error [99992354] #420

@FRED-DL

Description

@FRED-DL

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

  1. Send interactive card with button
  2. Click the button in Feishu client
  3. 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

  1. Add card callback event handling in lark-cli
  2. Or add --listen mode to receive WebSocket events
  3. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions