whatsapp-node-api icon indicating copy to clipboard operation
whatsapp-node-api copied to clipboard

File session.json not created

Open kalkulatorcetak opened this issue 3 years ago • 4 comments

File session.json not created after QR Code scaned and page not rediretc to Already Authenticated

kalkulatorcetak avatar Feb 07 '21 10:02 kalkulatorcetak

Delete the existing session.json file and try again

pranavms13 avatar Feb 14 '21 14:02 pranavms13

how do i delete a file that doesn't exist

munajatibnu avatar Feb 15 '21 18:02 munajatibnu

I have the same problem. It doesnt create a session.json file.

Lucaaaaaaaaaaaaa avatar Mar 02 '21 20:03 Lucaaaaaaaaaaaaa

I have same issue. According to this issue on pedroslopez/whatsapp-web.js #564. I resolve this issue with :

  1. run npm update
  2. remove last.qr and session.json if exists
  3. rerun node api.js

Hope can help anyone with this issue, thx.

toni-ismail avatar Mar 14 '21 03:03 toni-ismail