-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Describe the bug
I get the following error and response on a lot of api calls lately:
makeApiRequest: API request failed with response body: {"statusCode":500,"timestamp":"2025-10-22T06:42:46.757Z","exception":{"message":"2 UNKNOWN: server returned error 401","code":2,"details":"server returned error 401","metadata":{},"name":"Error","stack":"Error: 2 UNKNOWN: server returned error 401\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:361:141)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:324: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:85: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:9880:30)\n at node:internal/util:470:21\n at new Promise (<anonymous>)\n at node:internal/util:456:12\n at WhatsappSessionGoWSPlus.sendText (/app/dist/core/engines/gows/session.gows.core.js:446:78)\n at ChattingController.sendText (/app/dist/api/chatting.controller.js:31:25)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"},"request":{"path":"/api/sendText","method":"POST","body":{"chatId":"120363323060247195@newsletter","text":"Hi how we can help","session":"93507780928","reply_to":"false_120363323060247195@newsletter_AC208338F92F877FDF15E2F633B3D117"},"query":{}},"version":{"version":"2025.10.4","engine":"GOWS","tier":"PLUS","browser":null}}