Skip to content

[GOWS] - POST /api/sendText retorna erro 500 (gRPC error 463) #1904

@trojantm

Description

@trojantm

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": "558688755485@c.us",
  "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).

[![patron:PLUS](https://img.shields.io/badge/patron-PLUS-a0e6ba)](https://waha.devlike.pro/docs/how-to/plus-version/#tiers)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions