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

Error on getGroupInviteLink #214

Closed
wduandy opened this issue May 20, 2021 · 0 comments
Closed

Error on getGroupInviteLink #214

wduandy opened this issue May 20, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@wduandy
Copy link

wduandy commented May 20, 2021

When the method is called i'm getting the following error:

node:17090) UnhandledPromiseRejectionWarning: 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/eduandy/myzap/node_modules/@wppconnect-team/wppconnect/dist/lib/wapi/wapi.js:1:34712)
    at __puppeteer_evaluation_script__:1:34
    at ExecutionContext._evaluateInternal (/home/eduandy/myzap/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:17090) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:17090) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I can't figure it out the issue :(

@wduandy wduandy added the bug Something isn't working label May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant