When sending or receiving a bunch of group messages in a short period of time, the following error is triggered:
{
"level":50,"time":"2024-09-23T17:47:10.712Z","pid":8348,"hostname":"hostname","err":{"type":"Error","message":"rate-overlimit","stack":"Error: rate-overlimit
at assertNodeErrorFree (@whiskeysockets\\baileys\\lib\\WABinary\\generic-utils.js:56:15)
at query (@whiskeysockets\\baileys\\lib\\Socket\\socket.js:145:48)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async groupMetadata (@whiskeysockets\\baileys\\lib\\Socket\\groups.js:22:24)
at async @whiskeysockets\\baileys\\lib\\Socket\\messages-send.js:323:41
at async Promise.all (index 0)
at async @whiskeysockets\\baileys\\lib\\Socket\\messages-send.js:316:51
at async Object.transaction (@whiskeysockets\\baileys\\lib\\Utils\\auth-utils.js:136:26)
at async relayMessage (@whiskeysockets\\baileys\\lib\\Socket\\messages-send.js:306:9)
at async handleBadAck (@whiskeysockets\\baileys\\lib\\Socket\\messages-recv.js:775:17)",
"data":429,"isBoom":true,"isServer":true,"output":{"statusCode":500,"payload":{"statusCode":500,"error":"Internal Server
Error","message":"An internal server error occurred"},"headers":{}}},"msg":"unexpected error in 'handling bad ack'"
}
Reproducibility
Create a new connection
Send a bunch of messages in a group
Keep doing it for some seconds and the error is triggered
Expected behavior
All the messages should be sent/received without triggering errors.
Description
When sending or receiving a bunch of group messages in a short period of time, the following error is triggered:
Reproducibility
Expected behavior
All the messages should be sent/received without triggering errors.
Environment
connectOptions
look like?