Skip to content

fix(channel/lark): use code 0 for ACK payload to match Lark API convention - #816

Open
kerwan-zeng wants to merge 1 commit into
iOfficeAI:mainfrom
kerwan-zeng:zkh/fix_lark_handle_ack_code_issue
Open

fix(channel/lark): use code 0 for ACK payload to match Lark API convention#816
kerwan-zeng wants to merge 1 commit into
iOfficeAI:mainfrom
kerwan-zeng:zkh/fix_lark_handle_ack_code_issue

Conversation

@kerwan-zeng

Copy link
Copy Markdown

Lark APIs use code 0 for success (every API response in the codebase checks code != 0 for errors), but the WebSocket ACK frame was sending {"code":200}.
Lark interpreted 200 as a non-zero failure code, causing every event to be marked FAIL with a ~3.7s timeout even though messages were processed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant