waha icon indicating copy to clipboard operation
waha copied to clipboard

[GOWS] Error 463 on send to cold contacts — tctoken/cstoken not included in outgoing messages

Open m0d02x opened this issue 8 months ago • 37 comments

Description

Sending messages to contacts with no prior conversation history fails with gRPC error 463 on GOWS engine (PLUS tier).

{
  "statusCode": 500,
  "exception": {
    "message": "2 UNKNOWN: server returned error 463",
    "code": 2
  }
}

Environment

  • WAHA version: 2026.3.1
  • Engine: GOWS
  • Tier: PLUS
  • Platform: linux/x64

Root Cause

Per Baileys #2441 investigation:

  • Error 463 = NackCallerReachoutTimelocked — WhatsApp server-side "reach-out time-lock" rate limit
  • Affects messages to unknown/cold contacts (no prior conversation)
  • Caused by missing tctoken and cstoken privacy fields in outgoing <message> nodes
  • WhatsApp counts messages without these fields as "reaching out" and enforces time-based locks
  • Confirmed: the fix was implemented in Baileys PRs #2257, #2339, and #2438

Expected Behavior

Messages should include tctoken/cstoken to avoid triggering the reach-out time-lock, matching official WhatsApp client behavior.

Actual Behavior

GOWS engine omits these tokens, causing 463 errors on cold contacts. Sending to existing contacts works fine.

Steps to Reproduce

  1. Create a GOWS PLUS session
  2. Attempt to send a message to a phone number that has never chatted with the session before
  3. Observe 500 error with gRPC error 463

Related

patron:PLUS

m0d02x avatar Mar 31 '26 11:03 m0d02x

We have a limit of 300 new conversations initiated with contacts we've never spoken to before. Customers have even reported this restriction within the app.

patron:PRO

bergpinheiro avatar Mar 31 '26 13:03 bergpinheiro

https://github.com/tulir/whatsmeow/pull/1081 Perhaps it's related.

patron:PLUS

trojantm avatar Mar 31 '26 19:03 trojantm

+1

patron:PLUS

noeroelama avatar May 20 '26 02:05 noeroelama

+1

patron:PLUS

joaoAPina avatar May 20 '26 22:05 joaoAPina

大概啥时候修复呀

tangjiachao avatar May 25 '26 10:05 tangjiachao

English


When will it be fixed?

github-actions[bot] avatar May 25 '26 10:05 github-actions[bot]

+1

patron:PLUS

joaoAPina avatar May 25 '26 13:05 joaoAPina

{ "message": "Failed to send text message", "severity": "error", "attributes": { "time": 1779712322911, "pid": 12, "hostname": "9008673d48a1", "module": "waha-api", "status": 500, "errorMessage": "Request failed with status code 500", "responseBody": { "statusCode": 500, "timestamp": "2026-05-25T12:32:02.909Z", "exception": { "message": "2 UNKNOWN: server returned error 463", "code": 2, "details": "server returned error 463", "metadata": {}, "name": "Error", "stack": "Error: 2 UNKNOWN: server returned error 463\n at callErrorFromStatus (/app/node_modules/@grpc/grpc-js/build/src/call.js:32:19)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client.js:193:76)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:367:141)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:327:181)\n at /app/node_modules/@grpc/grpc-js/build/src/resolving-call.js:135:78\n at process.processTicksAndRejections (node:internal/process/task_queues:84:11)\nfor call at\n at MessageServiceClient.makeUnaryRequest (/app/node_modules/@grpc/grpc-js/build/src/client.js:161:32)\n at MessageServiceClient.SendMessage (/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)\n at MessageServiceClient.SendMessage (/app/dist/core/engines/gows/grpc/gows.js:10502:30)\n at node:internal/util:495:21\n at new Promise ()\n at node:internal/util:481:12\n at WhatsappSessionGoWSPlus.sendText (/app/dist/core/engines/gows/session.gows.core.js:518:78)\n at descriptor.value (/app/dist/core/abc/activity.js:9:35)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)" }, "request": { "path": "/api/sendText", "method": "POST", "body": { "session": "019bdbb3-84ca-7000-9287-590ccacc25c6", "chatId": "135051270430835@lid", "text": "Vou te passar o contato responsável!" }, "query": {} }, "version": { "version": "2026.4.3", "engine": "GOWS", "tier": "PLUS", "browser": null, "platform": "linux/x64", "worker": { "id": null } } }, "session": "019bdbb3-84ca-7000-9287-590ccacc25c6", "chatId": "135051270430835@lid", "level": "error" }, "tags": { "project": "7d15f083-1611-411d-8692-fd30f2b6bc40", "environment": "6f8caaf3-1571-4c87-86e8-5968b9990a1a", "service": "9f735920-43a1-43ea-8d4e-997510e80d07", "deployment": "af71b982-26c4-44db-ae3b-8a08248388be", "replica": "f03c4a2b-caea-4d3b-a5c0-333a0b996ed1" }, "timestamp": "2026-05-25T12:32:02.930675381Z" }

joaoAPina avatar May 25 '26 13:05 joaoAPina

+1 @devlikepro

patron:PLUS

dv336699 avatar May 26 '26 07:05 dv336699

+1

mrbitencourt avatar May 27 '26 16:05 mrbitencourt

I’m facing the same issue on 2026.1.4 with GOWS PLUS.

This started after the WhatsApp number was temporarily flagged/restricted by Meta as spam. Later the restriction was removed and I was able to create the session again successfully, but now every sendText or any api request fails with:

{
  "statusCode": 500,
  "exception": {
    "message": "2 UNKNOWN: server returned error 463"
  }
}

Important observations:

  • Another old number works perfectly on the same WAHA build/server. when i tried new one it fails with same error.
  • I also tried changing the VPS/server IP and recreating the session, but the issue still persists.
  • QR login and session creation work fine.

So this seems tied to the specific WhatsApp account state after the spam restriction was removed.

Has anyone found a fix or recovery method for this?

hardeep-97 avatar May 28 '26 08:05 hardeep-97

I’m facing the same issue on 2026.1.4 with GOWS PLUS.

This started after the WhatsApp number was temporarily flagged/restricted by Meta as spam. Later the restriction was removed and I was able to create the session again successfully, but now every sendText or any api request fails with:

{ "statusCode": 500, "exception": { "message": "2 UNKNOWN: server returned error 463" } } Important observations:

  • Another old number works perfectly on the same WAHA build/server. when i tried new one it fails with same error.
  • I also tried changing the VPS/server IP and recreating the session, but the issue still persists.
  • QR login and session creation work fine.

So this seems tied to the specific WhatsApp account state after the spam restriction was removed.

Has anyone found a fix or recovery method for this?

that's useful information thanks for sharing

patron:PLUS

dv336699 avatar May 28 '26 09:05 dv336699

+1

patron:PLUS

rafwell avatar May 28 '26 15:05 rafwell

@devlikepro Any update on this? I am facing the same issue.

patron:PLUS

nishit321 avatar May 29 '26 13:05 nishit321

+1

nucleotriuno avatar May 29 '26 16:05 nucleotriuno

+1

mcabral2510 avatar Jun 03 '26 12:06 mcabral2510

@devlikepro I'm testing this fix from whatsmeow and it's been helping to mitigate error 463:

https://github.com/tulir/whatsmeow/commit/595ceb0c22bfc5c7ec61b4342a184f9993a89943

patron:PRO

bergpinheiro avatar Jun 03 '26 21:06 bergpinheiro

I'm having this problem too. Any estimated time for a fix, please?

@devlikepro

patron:PLUS

gustavo-mamedep avatar Jun 04 '26 22:06 gustavo-mamedep

+1

patron:PLUS

rafwell avatar Jun 05 '26 16:06 rafwell

@devlikepro this is causing a massive issue to us, if we dont receive a solution within 2 business day we will be forced to move away to another product sorry - thanks!

patron:PLUS

dv336699 avatar Jun 05 '26 16:06 dv336699