Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group invite link: GROUP_JID: invalid jid type: Not an instance of WID #906

Closed
gio-rotta opened this issue May 20, 2021 · 3 comments
Closed
Labels
bug Something isn't working needs triage Needs avaliation

Comments

@gio-rotta
Copy link

Description

Starting yesterday, May 19, i can't create group invite link anymore. Even in the most simple case scenario.

console.log(await client.getGroupInviteLink('5548xxxx0015-1620391555@g.us'));

Environment

  • Venom version(s): "3.0.13"
  • OS: Ubuntu
  • Node version: Node 12

Steps to Reproduce

  1. console.log(await client.getGroupInviteLink('5548xxxx0015-1620391555@g.us'));

Log Output

Error: Evaluation failed: Error: GROUP_JID: invalid jid type: Not an instance of WID
    at t.GROUP_JID (https://web.whatsapp.com/bootstrap_qr.3ee97e011a14353fd537.js:1:551992)
    at Object.t.queryGroupInviteCode (https://web.whatsapp.com/bootstrap_main.61ccbd302106e7080867.js:2:23304)
    at Object.window.WAPI.window.WAPI.getGroupInviteLink (/home/giovanni/Development/dropsmart/comunidade-dropsmart/node_modules/venom-bot/dist/lib/wapi/wapi.js:1:34343)
    at __puppeteer_evaluation_script__:1:34
    at ExecutionContext._evaluateInternal (/home/giovanni/Development/dropsmart/comunidade-dropsmart/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async ExecutionContext.evaluate (/home/giovanni/Development/dropsmart/comunidade-dropsmart/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)
@gio-rotta gio-rotta added bug Something isn't working needs triage Needs avaliation labels May 20, 2021
@mono424
Copy link

mono424 commented May 20, 2021

+1 getting the same issue with version 3.0.16.

@sebastianserna30
Copy link

I'm using version 3.0.16 and I'm also experiencing this issue.

@jonalan7
Copy link
Contributor

jonalan7 commented Jun 3, 2021

Update to the new version! This issue has been fixed! @sebastianserna30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Needs avaliation
Projects
None yet
Development

No branches or pull requests

5 participants