Closed emauro closed 3 years ago
Me too
I got the same issue here: "error decoding login connResp: json: cannot unmarshal array into Go value of type map[string]interface {}".
try new version: SetClientVersion(2, 2121, 6)
This happens because of outdated wa web version given to whatsapp. Change the version to newer one like @Stasich said and you can connect again.
Worked for me, thx guys :)
It worked here too! All of our clients got broken today.
When I changed to new version we received new error: qr code scan timed out.
Solved!
Is there a programmatic way of automatically figuring out the next version numbers?
How can I change the version?
Something changed during the login/restore handshake. The following error appears:
Restoring failed: error decoding login connResp: json: cannot unmarshal array into Go value of type map[string]interface {}
The following json is received:
["cmd", {"type": "update"}]
Code fails in line 393 of session.go. Note that JSON does not contain entry "status", which is expected.