-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Rate-Overlimit and Unexpected Error in 'Handling Bad ACK' #1061
Comments
add cache and no request every time groupMetadata |
Even though not using |
I dived into the problem and I found out where the error is happening:
const wait = waitForMessage(msgId, timeoutMs);
await sendNode(node);
const result = await wait; When the error does not occur, {"tag":"iq","attrs":{"from":"<jid>@g.us","type":"error","id":"<four_digits_number>.<five_digits_number>-<two_digits_number>"},"content":[{"tag":"error","attrs":{"code":"429","text":"rate-overlimit"}}]}
I found out where the error is happening, but I didn't find out the cause 😭 |
baileys fetch groupMetadata to send message, even you not fetch, that's why you should use caching, in socket have |
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?The text was updated successfully, but these errors were encountered: