pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.54k stars 3.7k forks source link

CreateGroupError: An unknown error occupied while creating a group #3238

Open hmakey opened 3 months ago

hmakey commented 3 months ago

Is there an existing issue for this?

Describe the bug

i'm having this error in console when trying to create a new group CreateGroupError: An unknown error occupied while creating a group

Expected behavior

Steps to Reproduce the Bug or Issue

Relevant Code

No response

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

No, I am not using Multi Device

Environment

whatsapp-web.js version 1.24

Additional context

No response

firsttabz commented 2 months ago

Same! please help.......

cristianlivella commented 2 months ago

Same here, it actually worked for a while, then suddenly stopped working. Maybe I hit some rate limit?

whatsapp-web.js version 1.25

edit: yes, confirmed, in my case it's a rate limit issue, I printed err from here, and that's the result:

{
   "message":"rate-overlimit",
   "name":"ServerStatusCodeError",
   "stack":"Error: rate-overlimit\n    at b.Error [...]",
   "status":429,
   "statusCode":429
}

Maybe it would be nice to return the server error message/code in the createGroup method.

GabrielDuarteMG commented 3 weeks ago

Same here