whatsapp-api-tutorial
whatsapp-api-tutorial copied to clipboard
Is this stopped work?
Hi everyone, since yesterday my application stopped of work
I have the following message on my terminal:
Express-file-upload: Request is not eligible for file upload!
UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')
Is anyone going through this error?
thanks!
Express-file-upload: Request is not eligible for file upload!
I was mentioned it in the tutorial, you can disable the debug for file upload.
UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')
Try to add catch when initialize the client, like so:
client.initialize().catch(err => {
console.log(err);
})
Masih tetap ndak bisa om, ada solusi lain?
Hi everyone, since yesterday my application stopped of work
I have the following message on my terminal:
Express-file-upload: Request is not eligible for file upload!
UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')
Is anyone going through this error?
thanks!
Found a solution (for me) https://github.com/pedroslopez/whatsapp-web.js/issues/1019 just need to upgrade whatsapp-web.js dependencies to 1.15.2 . Hope this answers your question.