Closed demartinoalexis closed 9 months ago
i have the same problem.
me also
WhatsApp web was updated
Yes, and this repository not update again, anyone can solve this problem please..?
The update was about 2-3 weeks ago, the code refactoring might take a few weeks for repository contributors to notice, you could try forking it yourself, i wil try
This was actually due to the patches CDN billing not being topped up - yeah strange. Should be fixed now.
Comment back if it is still not working
Are you using the latest version of the library?
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Business account
Mode
My own code
Current Behavior
sendText works fine but when i try to send a PDF with sendFile the script crashes
Expected Behavior
send PDF to contact
Steps To Reproduce
send a PDF
create() code OR full CLI command + CONFIG
DEBUG INFO
Environment
Screenshots/Logs
No response
Anything else?
/home/xxxxx/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:258 throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails)); ^
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'isNewsletter') at t.getMaxNumberSelectableMedia (https://web.whatsapp.com/app.e6352145ea3a831d9908.js:266:698715) at https://web.whatsapp.com/app.e6352145ea3a831d9908.js:311:752011 at Generator.next ()
at t (https://web.whatsapp.com/vendor1~app.faf9096ea5e5e9ae7ce7.js:2:66487)
at s (https://web.whatsapp.com/vendor1~app.faf9096ea5e5e9ae7ce7.js:2:66698)
at https://web.whatsapp.com/vendor1~app.faf9096ea5e5e9ae7ce7.js:2:66757
at new Promise ()
at https://web.whatsapp.com/vendor1~app.faf9096ea5e5e9ae7ce7.js:2:66638
at C.processAttachments (https://web.whatsapp.com/app.e6352145ea3a831d9908.js:311:752541)
at window.. [as procFiles] (pptr://puppeteer_evaluation_script:1:490468)
at ExecutionContext._ExecutionContext_evaluate (/home/xxxxx/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:258:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (/home/xxxxx/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:146:16)
Node.js v19.8.1