wppconnect-team / wppconnect

WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination

Home Page:https://wppconnect.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Erro ao adicionar participantes

ch4rliedev opened this issue · comments

Description

Ao adicionar um participante em um grupo que ele saiu recentemente, o wppconnect retorna o código 408, mas a mensagem dele é "erro desconhecido", impossibilitando que os desenvolvedores saibam qual especificamente é o erro.

Environment

  • WPPConnect version(s): 1.30.1
  • WA-JS version(s): 3.1.1
  • Browser: Chrome 123.0.6312.122
  • OS: Windows 10 e Linux
  • Node version: 20.12.0
  • WhatsApp version: 2.3000.1012840629-alpha e 2.2412.50
  • MultiDevice (BETA): Sim

Steps to Reproduce

1º - Use o client.addParticipant() com qualquer grupo e número que tenha saído recentemente.

Log Output

a

Your Code

await client.addParticipant(groupId, mentionedUser);

Corrigido