evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

[Bug] Unable to send messages (ACK 463) after WhatsApp Business reinstall - instance OPEN, receiving works normally

Open renalonso-rma opened this issue 4 months ago • 5 comments

Environment

  • Evolution API: v2.3.7
  • Image: evoapicloud/evolution-api:v2.3.7
  • Deployment: EasyPanel (official template)
  • WhatsApp Library: Baileys
  • Database: PostgreSQL
  • Redis: Enabled
  • Operating System: Ubuntu (VPS)

Problem

The Evolution instance connects successfully and remains OPEN.

Incoming messages are received normally.

However, every outgoing message fails.

The Evolution Manager accepts the send request, but the message changes from status 1 to 0, and the recipient never receives it.


Logs

Every send attempt produces:

text
Sending message to [email protected]
sending message to 5 devices
received error in ack
error: "463"
status: 0
messageStubParameters: ["463"]

The logs also show: addressingMode: "lid"

and recipients are resolved as: xxxxxxxxxxxxx@lid

What happened before the problem

The issue started approximately 3 days ago.

Before that:

  • WhatsApp Business was reinstalled.
  • No chat backup was restored.
  • A completely new Evolution instance was created after the reinstall.
  • The instance was connected again using a new QR Code.

So this is not an old session.

  • What has already been tested
  • Recreated the instance.
  • Connected using a new QR Code.
  • PostgreSQL verified.
  • Redis verified.
  • Environment variables verified.
  • Instance status is OPEN.
  • Incoming messages work correctly.
  • Outgoing messages always fail with ACK 463.
  • WhatsApp Business sends messages normally from the phone.

Additional information:

  • WhatsApp Business was reinstalled without restoring any backup.
  • A brand-new Evolution instance was created after the reinstall.
  • The problem persists even with the new instance.
  • The logs indicate that Baileys successfully:

Question

Is ACK 463 a known issue related to recent WhatsApp protocol changes (LID/privacy tokens)?

Has this been fixed in a newer Evolution API release or Baileys version?

Any guidance would be greatly appreciated.

renalonso-rma avatar Jul 17 '26 22:07 renalonso-rma

Estou com o mesmo problema...sem solução até agora, alguma novidade?

Jonetho avatar Jul 23 '26 21:07 Jonetho

I have the same problem: I can only receive messages and send typing events, but I cannot send messages.

I have it installed and configured in Coolify; I’ve already removed every trace and reinstalled it, but nothing was resolved.

OscarTinajero117 avatar Jul 23 '26 22:07 OscarTinajero117

Having the same problem here, does anyone have a fix for it yet

gryphzzjr avatar Jul 26 '26 15:07 gryphzzjr

Eu também estou com o mesmo problema, que está aocntecendo em 2 contas do WhatsApp... Alguém já encontrou uma solução?

geracaomidia avatar Jul 28 '26 17:07 geracaomidia

Adding a reproduction matrix from a production migration today (2026-08-20) that isolates this bug precisely. Business WhatsApp number changed via the app's "change number" flow, old Evolution instance deleted, new instance created and QR-scanned the same day.

Setup: self-hosted Evolution API, same host, two versions tested side by side: v2.3.7 and v2.4.0-rc2 (fresh isolated container, dedicated Postgres). Instance state open, inbound works perfectly in both.

Results - sends from the fresh session:

Target chat type Addressing Live inbound received first (tctoken) v2.3.7 v2.4.0-rc2
lid-migrated peer phone JID no ERROR ERROR
lid-migrated peer phone JID yes (message received seconds before) ERROR ERROR
lid-migrated peer @lid direct no (normalized to PN) ERROR ERROR (stays lid)
lid-migrated peer @lid direct yes - ERROR
non-migrated peer (PN chat) phone JID no - SERVER_ACK + DELIVERY_ACK ✓

Additional data points:

  • The very first send right after QR pairing (before any inbound arrived from that peer) got SERVER_ACK+DELIVERY_ACK and was delivered; every send after the peer's first live inbound (which arrives under @lid with remoteJidAlt) fails with ack ERROR. Reproduced on v2.3.7.
  • Wiping all local peer state (Chat, Contact, IsOnWhatsapp rows) and restarting the instance does NOT help - next PN send still ERRORs. The lid decision appears to be server-side (USync at send time), not local cache.
  • Receiving a fresh live inbound from the peer (which should carry a tctoken) does not unlock sends on either version - so the token is either not persisted or not attached on the wire.
  • Scale on this account: 268 of 900 private chats are lid-migrated, i.e. ~30% of contacts are unreachable from any fresh session, while old (pre-migration) sessions on the same server keep sending to everyone fine.

Happy to provide logs/DB excerpts if useful.

eyalbarash avatar Aug 20 '26 15:08 eyalbarash