[v2.3.7] Adding participant to group getting number banned

未关闭
#2,774 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
typescript
领域
api

调研方向

Start by locating the handler for POST /group/updateParticipant/{instance} and trace how the add action reaches the bundled Baileys group-add call. Compare the failing account's response or disconnect details with a successful account; the issue does not identify a specific error code or desired code change, so a concrete fix and verification would need to be established first.

由索引模型根据 Issue 内容生成。

描述

Setup

  • Self-hosted bridge built on Evolution API (Baileys, the unofficial WhatsApp Web protocol).
  • Evolution API version: evoapicloud/evolution-api:v2.3.7. It's pinned in our Docker setup and mirrored into our own registry.
  • Baileys version: the one bundled with Evolution v2.3.7 (I haven't pinned it separately).
  • We add members through POST /group/updateParticipant/{instance} with action: "add".
  • The group is one the linked account administers.

Timeline

  • We sent a message that quoted or referenced a WhatsApp system message (the gray notice lines, such as "X added Y"). That triggered a temporary 5-hour ban.
  • After that, every attempt to add a person to a group got the account banned again. This happened with a single number. The number had no privacy setting blocking it.
  • The same add code works fine from another account, with another number.

What we've ruled out

  • Add logic: it works on another account.
  • Privacy or invite flow: the target had no privacy restriction, so the invite-link fallback shouldn't have run. We've turned it off by default anyway.
  • Volume: it was a single add, so a burst rate doesn't explain it.

Questions for the community

  • Has anyone seen a ban on one account's group adds when the same call works on other accounts? Was it tied to an earlier flag?
  • How long did a flagged account take to recover? Did resting it help, or did it need the official app or a support appeal?
  • Are there signals from Baileys or WhatsApp (disconnect reason codes, 403 or 401 responses) that warn you before a ban?
  • Do you check that a number is registered on WhatsApp before adding it? Does that lower risk?
  • Is there a newer Evolution or Baileys release that handles group adds differently, or a version to avoid?
主要语言
TypeScript
星标
10.2k
派生
7.5k
平均合并
6 天 19 小时
30 天内合并 PR
4

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

evolution-foundation/evolution-api 的其他 Issue

查看 evolution-foundation/evolution-api 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。