Lark: group chat sends are refused by the platform while p2p sends succeed
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Elixir
- Star
- 740
- Fork
- 61
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của AFK-surf/Comma
-
Paid Task runs rejected with insufficient_credits although the usage page shows 20,000,000 available quotaCó thể đã có người làm @akumatus đã nhận 10 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Tất cả issue của AFK-surf/Comma
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
intellij-elixir/intellij-elixir#4938 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Attribute selectors match elements without the attribute; [x^=''] matches everythingCó thể đã có người làm @bardrop đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
expert-lsp/expert#1040 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
ash-project/ash_mysql#278 · 2 bình luận ·
-
L: github:actions L: javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
dependabot/dependabot-core#17100 ·
Maintainer thường phản hồi trong vòng 2 ngày