wppconnect-team / wppconnect

WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination
https://wppconnect.io
Other
1.93k stars 339 forks source link

Error when I trying to retrieve old messages #433

Closed tadeubdev closed 3 years ago

tadeubdev commented 3 years ago

Description

When I trying to retrieve the old messages, I receive this output error.

Environment

Steps to Reproduce

client.getAllUnreadMessages()

Log Output

{"name":"Server5xxDrop","stack":"Server5xxDrop\n    at new i (https://web.whatsapp.com/bootstrap_qr.f61502d6311fd24214d7.js:2:382908)\n    at new p (https://web.whatsapp.com/bootstrap_qr.f61502d6311fd24214d7.js:7:67766)\n    at Object.on5xx (https://web.whatsapp.com/bootstrap_qr.f61502d6311fd24214d7.js:18:536442)\n    at Object.onMessage (https://web.whatsapp.com/bootstrap_qr.f61502d6311fd24214d7.js:18:537634)\n    at Object._onParsedMsg (https://web.whatsapp.com/bootstrap_qr.f61502d6311fd24214d7.js:23:17354)\n    at Object._onMessage (https://web.whatsapp.com/bootstrap_qr.f61502d6311fd24214d7.js:23:16962)"}
edgardmessias commented 3 years ago

I made some tests and it is working file, could you update to 1.8.13 and check it?

tadeubdev commented 3 years ago

I'll update and try it!