-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Is there an existing issue for this?
- I have searched the existing issues.
Is this a problem caused by your code, or is it specifically because of the library?
- I have double-checked my code carefully.
Describe the bug.
Error: Evaluation failed: TypeError: window.Store.ContactMethods.getIsMyContact is not a function
at window.WWebJS.getContactModel (pptr://puppeteer_evaluation_script:632:55)
at pptr://puppeteer_evaluation_script:659:54
at Array.map ()
at window.WWebJS.getContacts (pptr://puppeteer_evaluation_script:659:25)
at pptr://puppeteer_evaluation_script:2:34
at ExecutionContext._ExecutionContext_evaluate (C:\Users\niedj\Documents\horizon\backend\node_modules\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229:15)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async ExecutionContext.evaluate (C:\Users\niedj\Documents\horizon\backend\node_modules\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:107:16)
at async Client.getContacts (C:\Users\niedj\Documents\horizon\backend\node_modules\whatsapp-web.js\src\Client.js:1177:24)
at async Socket. (file:///C:/Users/niedj/Documents/horizon/backend/src/lib/socket.js:143:27)
Expected Behavior
nothing
Steps to Reproduce the Bug or Issue
when we try to do client.getContacts()
WhatsApp Account Type
WhatsApp Business
Browser Type
chomium
Operation System Type
windows
Phone OS Type
Android
WhatsApp-Web.js Version
1.34.2
WhatsApp Web Version
latest
Node.js Version
22 lts
Authentication Strategy
LocalAuth
Additional Context
nothing