whatsapp-web-reveng
whatsapp-web-reveng copied to clipboard
Trying to Implement the Restore Session part but got Error 401 Unpaired with Cellphone
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:
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?
@sigalor Update: After I implement the Resolve Challenge, it still returns the same thing.
even though I got a response 200 for my Resolve Challenge.
can i get this code for restore session whatsapp
#325