Marcoant007/mrx-baileys-store

ERROR (7644): An error occured during session read

Closed this issue · 1 comments

Error message:

   err: {
      "type": "NotFoundError",
      "message": "No Session found",
      "stack":
          NotFoundError: No Session found
              at C:\Users\Dell\Desktop\Projetos\whatsapp-api\node_modules\@prisma\client\runtime\library.js:162:6027
              at C:\Users\Dell\Desktop\Projetos\whatsapp-api\node_modules\@prisma\client\runtime\library.js:162:5966
              at read (C:\Users\Dell\Desktop\Projetos\whatsapp-api\node_modules\mrx-baileys-store\dist\session.js:32:30)
              at C:\Users\Dell\Desktop\Projetos\whatsapp-api\node_modules\mrx-baileys-store\dist\session.js:67:37
              at async Promise.all (index 0)
              at Object.get (C:\Users\Dell\Desktop\Projetos\whatsapp-api\node_modules\mrx-baileys-store\dist\session.js:66:21)
              at Object.get (C:\Users\Dell\Desktop\Projetos\whatsapp-api\node_modules\@whiskeysockets\baileys\lib\Utils\auth-utils.js:43:33)
              at Object.processSenderKeyDistributionMessage (C:\Users\Dell\Desktop\Projetos\whatsapp-api\node_modules\@whiskeysockets\baileys\lib\Signal\libsignal.js:42:49)
              at decrypt (C:\Users\Dell\Desktop\Projetos\whatsapp-api\node_modules\@whiskeysockets\baileys\lib\Utils\decode-wa-message.js:133:29)
              at C:\Users\Dell\Desktop\Projetos\whatsapp-api\node_modules\@whiskeysockets\baileys\lib\Socket\messages-recv.js:539:17
      "code": "P2025",
      "clientVersion": "4.15.0",
      "name": "NotFoundError"

Bug fixed in PR below
PR -> #2 #2