whatsapp-web-reveng icon indicating copy to clipboard operation
whatsapp-web-reveng copied to clipboard

Trying to Implement the Restore Session part but got Error 401 Unpaired with Cellphone

Open mario7lorenzo opened this issue 5 years ago • 3 comments

Hi, I'm currently trying to implement the restore session for this whatsapp-web-reveng. I'm doing it by saving the serverToken and clientToken credentials after the first login withQR code. I check whether there exists a credential stored. If yes, then pass the credentials. Otherwise, generate a QR code. However, I'm getting such error: Screenshot 2019-07-23 at 10 43 49 AM Actually the first time response returned is 200 which is OK. However, for the second one, the response is coded 401 which means "Unpaired with phone". So, I assumed that my phone is immediately disconnected after my first login (well actually the WhatsApp backend is disconnected after a few minutes IF there is no activity received). Is there anyway to resolve this issue?

mario7lorenzo avatar Jul 23 '19 02:07 mario7lorenzo

@sigalor Update: After I implement the Resolve Challenge, it still returns the same thing. Screenshot 2019-07-23 at 12 36 35 PM even though I got a response 200 for my Resolve Challenge.

mario7lorenzo avatar Jul 23 '19 04:07 mario7lorenzo

can i get this code for restore session whatsapp

irfangerard44 avatar Oct 07 '19 04:10 irfangerard44

#325

hossinasaadi avatar Apr 28 '21 18:04 hossinasaadi