whatsapp-web.js icon indicating copy to clipboard operation
whatsapp-web.js copied to clipboard

Getting error on send message only on some whatsapp numbers

Open tejashwasharma opened this issue 2 years ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the bug

0|www | Error: Evaluation failed: TypeError: e.match is not a function 0|www | at new c (https://web.whatsapp.com/bootstrap_qr.15b07f37ecbe5a626367.js:69:26394) 0|www | at Object.s [as createWid] (https://web.whatsapp.com/bootstrap_qr.15b07f37ecbe5a626367.js:69:30732) 0|www | at puppeteer_evaluation_script:2:53 0|www | at ExecutionContext._evaluateInternal (/home/ubuntu/backend/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19) 0|www | at runMicrotasks () 0|www | at processTicksAndRejections (node:internal/process/task_queues:96:5) 0|www | at async ExecutionContext.evaluate (/home/ubuntu/backend/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16) 0|www | at async Client.sendMessage (/home/ubuntu/backend/node_modules/whatsapp-web.js/src/Client.js:594:28) 0|www | at async adminSectionOfCommands (/home/ubuntu/backend/whatsapp-bot/index.js:89:21)

Expected behavior

It should send the message. I am sending a list from non business account.

Steps to Reproduce the Bug or Issue

Simply sending the message with list Note: it is only not working with few of whatsapp users

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

AWS EC2 linus free tier

Additional context

No response

tejashwasharma avatar May 01 '22 05:05 tejashwasharma

Same error in my end. Only ones a while

shirser121 avatar May 04 '22 23:05 shirser121

Do you have any browsers installed on the instance? try to run this command sudo apt install libnss3-dev libatk-bridge2.0-0 libxkbcommon-x11-0 libgtk-3-0 libgbm-dev

macleysousa avatar May 10 '22 11:05 macleysousa

Browser is already installed. I am able to send messages to everyone except few contacts.

tejashwasharma avatar May 10 '22 12:05 tejashwasharma

Do you have any contact examples that can be used as a test?

macleysousa avatar May 10 '22 21:05 macleysousa

I have the same problem, but it has started today... no problem before... any update on this please?

luiscuriel avatar May 13 '22 20:05 luiscuriel