Lark: group chat sends are refused by the platform while p2p sends succeed
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Elixir
- Estrellas
- 740
- Forks
- 61
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AFK-surf/Comma
-
Paid Task runs rejected with insufficient_credits although the usage page shows 20,000,000 available quotaPosiblemente ocupada @akumatus la tomó hace 10 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Todos los issues de AFK-surf/Comma
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
intellij-elixir/intellij-elixir#4938 ·
Los mantenedores suelen responder en 1 día
-
Attribute selectors match elements without the attribute; [x^=''] matches everythingPosiblemente ocupada @bardrop la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
expert-lsp/expert#1040 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
ash-project/ash_mysql#278 · 2 comentarios ·
-
L: github:actions L: javascript
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
dependabot/dependabot-core#17100 ·
Los mantenedores suelen responder en 2 días