[GOWS] - POST /api/sendText retorna erro 500 (gRPC error 463)
Description
When trying to send a text message using the POST /api/sendText endpoint, the API responds with HTTP 500 and the following internal gRPC error:
This happens even when the session is valid and running.
Affected Endpoint
POST /api/sendText
Request Payload
{
"chatId": "[email protected]",
"text": "Oii",
"session": "FA8E1730-6A62-485C-BDF3-5626F231F3A5"
}
Response
{
"statusCode": 500,
"timestamp": "2026-02-10T23:38:04.173Z",
"exception": {
"message": "2 UNKNOWN: server returned error 463",
"code": 2,
"details": "server returned error 463",
"metadata": {},
"name": "Error"
}
}
Expected Behavior:
The text message should be sent successfully and the endpoint should return HTTP 201, as documented for /api/sendText.
Actual Behavior:
The API returns HTTP 500 with an internal gRPC error, preventing the message from being sent.
Environment
- WAHA version: 2026.1.5 or 2026.2.1
- Engine: GOWS
- Tier: PLUS
- Platform: linux/x64
- Worker: wh-w10
- Browser: null
- Deployment: Docker
Additional Notes:
- The endpoint usage matches the Swagger specification (POST /api/sendText).
- chatId format is valid (@c.us).
- The session exists and is in a working state.
- The error seems to originate from the internal gRPC layer (MessageServiceClient.SendMessage).
[](https://waha.devlike.pro/docs/how-to/plus-version/#tiers)
{ "statusCode": 500, "timestamp": "2026-02-10T23:38:04.173Z", "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:10372:30)\n at node:internal/util:495:21\n at new Promise (<anonymous>)\n at node:internal/util:481:12\n at WhatsappSessionGoWSPlus.sendText (/app/dist/core/engines/gows/session.gows.core.js:513: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": { "chatId": "[email protected]", "text": "Oii", "session": "FA8E1730-6A62-485C-BDF3-5626F231F3A5" }, "query": {} }, "version": { "version": "2026.1.5", "engine": "GOWS", "tier": "PLUS", "browser": null, "platform": "linux/x64", "worker": { "id": "wh-w10" } } }
Same issue here:
{
"statusCode": 500,
"timestamp": "2026-02-10T19:07:58.842Z",
"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:10372:30)\n at node:internal/util:495:21\n at new Promise (<anonymous>)\n at node:internal/util:481:12\n at WhatsappSessionGoWSPlus.sendText (/app/dist/core/engines/gows/session.gows.core.js:513: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": {
"chatId": "*************@c.us",
"reply_to": null,
"text": ".",
"linkPreview": true,
"linkPreviewHighQuality": false,
"session": "*************"
},
"query": {}
},
"version": {
"version": "2026.1.5",
"engine": "GOWS",
"tier": "PLUS",
"browser": null,
"platform": "linux/x64",
"worker": {
"id": null
}
}
}
Following a second check with the account owner, it appears the 463 error is due to a 7-day restriction. This block only affects new conversations.
@devlikepro Is there any solution or explanation for this issue? I performed the following test:
Sent the message via API and received response 463 Sent the same message directly through WhatsApp, and it worked normally Sent it again via API, and this time it also worked as expected
+1
+1
@devlikepro
2026-05-29T19:38:19.9203373Z err: {
2026-05-29T19:38:19.9203407Z "type": "Error",
2026-05-29T19:38:19.9203436Z "message": "2 UNKNOWN: server returned error 463",
2026-05-29T19:38:19.9203458Z "stack":
2026-05-29T19:38:19.9203481Z Error: 2 UNKNOWN: server returned error 463
2026-05-29T19:38:19.9203506Z at callErrorFromStatus (/app/node_modules/@grpc/grpc-js/build/src/call.js:32:19)
2026-05-29T19:38:19.9203571Z at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client.js:193:76)
2026-05-29T19:38:19.9203599Z at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:367:141)
2026-05-29T19:38:19.9203625Z at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:327:181)
2026-05-29T19:38:19.9203649Z at /app/node_modules/@grpc/grpc-js/build/src/resolving-call.js:135:78
2026-05-29T19:38:19.9203674Z at process.processTicksAndRejections (node:internal/process/task_queues:84:11)
2026-05-29T19:38:19.9203697Z for call at
2026-05-29T19:38:19.9203722Z at MessageServiceClient.makeUnaryRequest (/app/node_modules/@grpc/grpc-js/build/src/client.js:161:32)
2026-05-29T19:38:19.9203749Z at MessageServiceClient.SendMessage (/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
2026-05-29T19:38:19.9203773Z at MessageServiceClient.SendMessage (/app/dist/core/engines/gows/grpc/gows.js:10542:30)
2026-05-29T19:38:19.9203796Z at node:internal/util:495:21
2026-05-29T19:38:19.9203828Z at new Promise (<anonymous>)
2026-05-29T19:38:19.9203852Z at node:internal/util:481:12
2026-05-29T19:38:19.9203878Z at /app/dist/plus/engines/gows/session.gows.plus.js:212:82
2026-05-29T19:38:19.9203902Z at async TmpDir.use (/app/dist/utils/tmpdir.js:22:20)
2026-05-29T19:38:19.9203929Z at async WhatsappSessionGoWSPlus.sendMedia (/app/dist/plus/engines/gows/session.gows.plus.js:202:16)
2026-05-29T19:38:19.9203960Z at async WhatsappSessionGoWSPlus.sendFile (/app/dist/plus/engines/gows/session.gows.plus.js:221:16)
2026-05-29T19:38:19.9203986Z at async descriptor.value (/app/dist/core/abc/activity.js:9:20)
2026-05-29T19:38:19.9204009Z "code": 2,
2026-05-29T19:38:19.9204034Z "details": "server returned error 463",
2026-05-29T19:38:19.9204058Z "metadata": {
2026-05-29T19:38:19.9204101Z "content-type": [
2026-05-29T19:38:19.9204127Z "application/grpc"
2026-05-29T19:38:19.9204152Z ]
2026-05-29T19:38:19.9204176Z }
2026-05-29T19:38:19.9204202Z }
happens when sending a .pdf file
This bud is having a significant impact on GOWS because the shift to @lid is becoming increasingly common. Is there an estimated time for a fix, please?
I am receiving this error when sending messages to new contacts who have never sent a message to this instance before:
{"statusCode":500,"timestamp":"2026-06-19T14:02:37.248Z","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 (
@devlikepro
+1
+1, fix this please. This error is getting more often recently