waha icon indicating copy to clipboard operation
waha copied to clipboard

[BUG][NOWEB] -get group error /api/session/groups/[email protected]

Open HuangDaHui opened this issue 1 year ago • 4 comments

/api/session/groups/[email protected] { "statusCode": 500, "timestamp": "2024-07-30T09:56:20.647Z", "exception": { "stack": "Error: rate-overlimit\n at assertNodeErrorFree (/app/node_modules/@adiwajshing/baileys/lib/WABinary/generic-utils.js:56:15)\n at query (/app/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:145:48)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.groupFetchAllParticipating (/app/node_modules/@adiwajshing/baileys/lib/Socket/groups.js:26:24)\n at async WhatsappSessionNoWebPlus.getGroup (/app/dist/core/engines/noweb/session.noweb.core.js:521:24)", "message": "rate-overlimit", "data": 429, "isBoom": true, "isServer": true, "output": {}, "name": "Error" }, "request": { "path": "/api/TCN013/groups/120363298657503778%40g.us", "method": "GET", "body": {}, "query": {} }, "version": { "version": "2024.7.6", "engine": "NOWEB", "tier": "PLUS", "browser": "/usr/bin/chromium" } }

HuangDaHui avatar Jul 30 '24 09:07 HuangDaHui

Just delete the session and recreate it But this affects the use because you need to re-scan the QRcode after deletion.

HuangDaHui avatar Jul 30 '24 10:07 HuangDaHui

Hi! How frequently you request the endpoint?

patron:PRO

devlikepro avatar Aug 01 '24 09:08 devlikepro

Hi, actually my requests are not frequent. This error will also appear when I test the interface directly in swagger.

HuangDaHui avatar Aug 02 '24 03:08 HuangDaHui

Im facing the same issue aswell. Basically, what i do is just keep requesting the groups and added the channel to the group that other account's who created it. But my case is when i trigger it directly in swagger, its ok no error. But when i use my application to hit the api, it give me 500

image

patron:PLUS

masitings avatar Sep 03 '24 17:09 masitings

+1

patron:PLUS

LucasEduard0 avatar Oct 14 '24 20:10 LucasEduard0

+1

melquisedeque-magalhaes avatar Dec 06 '24 15:12 melquisedeque-magalhaes

+1

lucas-cassiano avatar Dec 06 '24 15:12 lucas-cassiano

Hi! Fixed in 2024.12.3 Remember to Enable NOWEB Store for the optimization!

Added dedicated POST /api/{session}/groups/refresh to force refresh group list from the server if you see any inconsistency in groups or participants

patron:PRO

devlikepro avatar Dec 09 '24 04:12 devlikepro