devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
806 stars 247 forks source link

[BUG][NOWEB] - Getting Status 403 while adding a participant to a group #389

Closed kevinnadar22 closed 1 week ago

kevinnadar22 commented 1 week ago

Version

{
  "version": "2023.11.1",
  "engine": "NOWEB",
  "tier": "PLUS",
  "browser": "/usr/bin/google-chrome-stable"
}

Expected behavior

Getting Status 403 while adding a participant to a group using group id and participant id

Engine I'm using NOWEB engine.

Requests - Responses

IMG_7156

devlikepro commented 1 week ago

403 while adding a participant to a group using group id and participant id

Do you have permissions in that group?

patron:PRO

kevinnadar22 commented 1 week ago

Yes I created the group using the API itself

On Mon, Jun 24, 2024 at 4:11 PM devlikeapro @.***> wrote:

403 while adding a participant to a group using group id and participant id

Do you have permissions in that group?

[image: patron:PRO] https://waha.devlike.pro/docs/how-to/plus-version/#tiers

— Reply to this email directly, view it on GitHub https://github.com/devlikeapro/waha/issues/389#issuecomment-2186245387, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASGZYAMOMTZEZG7O4Z4O5PTZI7ZXHAVCNFSM6AAAAABJWVZZJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGI2DKMZYG4 . You are receiving this because you authored the thread.Message ID: @.***>

devlikepro commented 1 week ago

@kevinnadar22 The participant you're trying to add doesn't allow you to add you to the group.

Tested it this way:

  1. Created a group via API (with 1st participant)
  2. Add 2nd participant (not private settings set)
  3. OK
  4. For 2nd participant set privacy mode as "My Contacts Except…" in Group Privacy
  5. See 403 error, just as you pointed above

Nothing we can do here, it's WA who doesn't allow it https://faq.whatsapp.com/3307102709559968/?locale=en_US&cms_platform=web&cms_id=3307102709559968&draft=true

patron:PRO

devlikepro commented 1 week ago

try adding the same participant on phone - you'll get an error as well and WA suggests you to send an invite

For such errors consider sending them Intive link with some short message https://waha.devlike.pro/docs/how-to/groups/#invite-code

We should work on the original "Invite" message with the button tho :thinking:

patron:PRO

kevinnadar22 commented 1 week ago

Okay thanks

On Tue, Jun 25, 2024 at 10:10 AM devlikeapro @.***> wrote:

@kevinnadar22 https://github.com/kevinnadar22 The participant you're trying to add doesn't allow you to add you to the group.

Tested it this way:

  1. Created a group via API (with 1st participant)
  2. Add 2nd participant (not private settings set)
  3. OK
  4. For 2nd participant set privacy mode as "My Contacts Except…" in Group Privacy
  5. See 403 error, just as you pointed above

Nothing we can do here, it's WA who doesn't allow it

https://faq.whatsapp.com/3307102709559968/?locale=en_US&cms_platform=web&cms_id=3307102709559968&draft=true

[image: patron:PRO] https://waha.devlike.pro/docs/how-to/plus-version/#tiers

— Reply to this email directly, view it on GitHub https://github.com/devlikeapro/waha/issues/389#issuecomment-2187962671, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASGZYAKLBVF7OLYR2BKYRMDZJDYFTAVCNFSM6AAAAABJWVZZJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBXHE3DENRXGE . You are receiving this because you were mentioned.Message ID: @.***>