devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
819 stars 249 forks source link

[BUG][NOWEB] - 500 error when sending status stories to a large number of contacts #413

Open sg957 opened 4 days ago

sg957 commented 4 days ago

I'm getting a 500 error when sending status stories to a large number of contacts Error description

message:500 - "{\"statusCode\":500,\"timestamp\":\"2024-07-01T23:56:06.826Z\",\"exception\":{\"stack\":\"RangeError [ERR_OUT_OF_RANGE]: The value of \\"value\\" is out of range. It must be >= 0 and <= 255. Received 294\n at writeU_Int8 (node:internal/buffer:740:11)\n at Buffer.writeUInt8 (node:internal/buffer:750:10)\n at Object.encodeFrame (/app/node_modules/@adiwajshing/baileys/lib/Utils/noise-handler.js:123:19)\n at sendRawMessage (/app/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:61:29)\n at sendNode (/app/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:79:16)\n at /app/node_modules/@adiwajshing/baileys/lib/Socket/messages-send.js:442:19\n at async Object.transaction (/app/node_modules/@adiwajshing/baileys/lib/Utils/auth-utils.js:136:26)\n at async relayMessage (/app/node_modules/@adiwajshing/baileys/lib/Socket/messages-send.js:280:9)\n at async Object.sendMessage (/app/node_modules/@adiwajshing/baileys/lib/Socket/messages-send.js:654:17)\",\"code\":\"ERR_OUT_OF_RANGE\",\"message\":\"The value of \\"value\\" is out of range. It must be >= 0 and <= 255. Received tack:AxiosError: Request failed with status code 500\n at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:19:12)\n at RedirectableRequest.handleResponse (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:537:9)\n at RedirectableRequest.emit (node:events:531:35)\n at RedirectableRequest.emit (node:domain:488:12)\n at RedirectableRequest._processResponse (/usr/local/lib/node_modules/n8n/node_modules/follow-redirects/index.js:398:10)\n at ClientRequest.RedirectableRequest._onNativeResponse (/usr/local/lib/node_modules/n8n/node_modules/follow-redirects/index.js:91:12)\n at Object.onceWrapper (node:events:634:26)\n at ClientRequest.emit (node:events:519:28)\n at ClientRequest.emit (node:domain:488:12)\n at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:698:27)\n at Axios.request (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/Axios.js:45:41)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at requestFn (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:567:33)\n at proxyRequestToAxios (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:570:26)\n at Object.request (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1992:50) code:ERR_BAD_RESPONSE status:500

patron:PRO