Lark: group chat sends are refused by the platform while p2p sends succeed
まだ誰も着手していません。
評価
調査の方向性
Start by locating im_api.lark.send_message and the code that produces the Chinese refusal, then trace how it checks group chat destinations and permissions. Compare that path with successful p2p sends and inspect the relevant tests or add a reproduction for group sends. Done means group messages reach Lark with and without reply_to, while p2p behavior remains intact.
索引モデルが issue の本文から書いたものです。
説明
What happens
im_api.lark.send_message (Lark/Feishu connect) works for p2p chats but every send to a group chat is refused before it reaches Lark. The refusal is a product-level Chinese message, not a Lark API error:
我无法向 <群名> 发送:你不在其中,或我无法确认权限
(Contrast: a genuinely Lark-side failure surfaces as e.g. error: Lark API error 230013 (HTTP 400): Bot has NO availability to this user.)
Steps to reproduce
- Connect a Lark app (Feishu) to a Comma workspace; verify p2p sending works.
- Have someone mention the bot in a group chat the bot receives messages from.
- Reply with
im_api.lark.send_messageusing that group'schat_id(with and withoutreply_to).
Expected
The message is posted to the group (Feishu permission im:message:send_as_bot is granted).
Actual
The send is rejected by the platform with the message above. Reproduced on two different group chats, with and without reply_to, and with both a plain text body and a Markdown body.
Evidence that the Feishu side is configured
im:messageandim:message:send_as_botare granted (checked in the developer console, status 已开通).- An app version has been published after granting them.
- p2p sending works from the same connect, same credentials.
- Receiving from those groups works (messages arrive and trigger the agent), so the bot is present in the groups.
Impact
Blocks group-facing use cases: posting build/release notifications into a team group, answering in groups, any "announce in this chat" workflow. Currently only p2p replies work.
Notes
The refusal text looks like a Comma-side destination/authorization check rather than a Lark response, which is why I am filing here rather than as a Feishu permission bug. Happy to provide request ids / timestamps and run more probes if useful.
- 主要言語
- Elixir
- スター
- 740
- フォーク
- 61
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AFK-surf/Comma のほかの issue
-
Paid Task runs rejected with insufficient_credits although the usage page shows 20,000,000 available quota対応中かも @akumatus が 10 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
intellij-elixir/intellij-elixir#4938 ·
メンテナーはふだん 1 日以内に返信
-
Attribute selectors match elements without the attribute; [x^=''] matches everything対応中かも @bardrop が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
expert-lsp/expert#1040 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
ash-project/ash_mysql#278 · コメント 2 件 ·
-
L: github:actions L: javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
dependabot/dependabot-core#17100 ·
メンテナーはふだん 2 日以内に返信