Rhymen / go-whatsapp

WhatsApp Web API
MIT License
2.05k stars 490 forks source link

Login error response (cannot unmarshal array into Go value of type map[string]interface {}) #573

Closed luizpvas closed 3 years ago

luizpvas commented 3 years ago

QR Code generation started returning this this aftertoon:

error decoding login resp: json: cannot unmarshal array into Go value of type map[string]interface {}

Is anyone else seeing this? Thanks!

bhavesh53 commented 3 years ago

same error got any solution ??

Fernando-Erd commented 3 years ago

Solution here https://github.com/Rhymen/go-whatsapp/issues/571

pedroufo51warick commented 3 years ago

Update waVersion to var waVersion = []int{2, 2121, 6} in session.go