wa-js icon indicating copy to clipboard operation
wa-js copied to clipboard

Invalid Invite Code on a valid invite.

Open carlosmixz opened this issue 1 year ago • 2 comments

WA-JS Version

3.4.1

WhatsApp Version

2.3000.1014619389

Browser Version

Chrome 126.0.6478.127

Operation System

Windows 10

Steps to reproduce

Just try to enter in some groups, randomly one of them will send the Invalid Invite Code.

What is expected?

Expected to enter the group and return the id.

What is actually happening?

Not enter and return "Invalid Invite Code" message.

Any additional comments?

No response

carlosmixz avatar Jul 03 '24 16:07 carlosmixz

Hi, can you send the logs?

icleitoncosta avatar Jul 04 '24 15:07 icleitoncosta

How can i get the logs?

carlosmixz avatar Jul 05 '24 01:07 carlosmixz

Please send me a link to a group that had an error. It can be something occasional too. I've done some tests on this function, and it hasn't had any issues, but it doesn't hurt to try.

icleitoncosta avatar Jul 10 '24 22:07 icleitoncosta

It doesn't always happen. Any valid link may or may not work. I tested with several different links.

carlosmixz avatar Jul 11 '24 02:07 carlosmixz

Please send me a link to a group that had an error. It can be something occasional too. I've done some tests on this function, and it hasn't had any issues, but it doesn't hurt to try.

Thanks for the feedback. Remembering that I try to add the user via add-participant-group and, upon receiving the 403 code, I use the returned field invite_code added to the address https://chat.whatsapp.com/ and send it to the same user using the send-message method (I tried send-link-preview too)

https://chat.whatsapp.com/HD7xHjet7Ev8q7aY

photo1720700833 photo1720700849

ijro avatar Jul 11 '24 12:07 ijro

@ijro, ⭐3 XP earned, 🏆First Comment Added completed, 💪Level 1 achieved! Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

devactivity-app[bot] avatar Jul 11 '24 12:07 devactivity-app[bot]

Hi All, Any solution for High CPU uses by chromium.

Parveen-Mothsara avatar Jul 15 '24 05:07 Parveen-Mothsara

Thanks for the feedback. Remembering that I try to add the user via add-participant-group and, upon receiving the 403 code, I use the returned field invite_code added to the address https://chat.whatsapp.com/ and send it to the same user using the send-message method (I tried send-link-preview too)

https://chat.whatsapp.com/HD7xHjet7Ev8q7aY

Check issues on wppconnect project

icleitoncosta avatar Jul 16 '24 22:07 icleitoncosta

Please send me a link to a group that had an error. It can be something occasional too. I've done some tests on this function, and it hasn't had any issues, but it doesn't hurt to try.

Thanks for the feedback. Remembering that I try to add the user via add-participant-group and, upon receiving the 403 code, I use the returned field invite_code added to the address https://chat.whatsapp.com/ and send it to the same user using the send-message method (I tried send-link-preview too)

https://chat.whatsapp.com/HD7xHjet7Ev8q7aY

photo1720700833 photo1720700849

For send invite link for chat, is necessary use the function:

 '[number]@c.us',
 {
   inviteCode: '123',
   groupId: '[email protected]'
 }
);```

icleitoncosta avatar Jul 16 '24 22:07 icleitoncosta