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

Open
#2,774 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
typescript
Domain
api

Research direction

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.

Written by the indexing model from the issue text.

Description

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?
Dominant language
TypeScript
Stars
10.2k
Forks
7.5k
Avg merge
6d 19h
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from evolution-foundation/evolution-api

All issues in evolution-foundation/evolution-api

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.