Armax / Pokemon-GO-node-api

Pokemon GO api node.js library
MIT License
875 stars 198 forks source link

Error: Illegal wire type for field Message.Field .ResponseEnvelop.PokemonData.deployed_fort_id: 2 (0 expected) #157

Open cbreezier opened 8 years ago

cbreezier commented 8 years ago

Error: Illegal wire type for field Message.Field .ResponseEnvelop.PokemonData.deployed_fort_id: 2 (0 expected)

Getting this error on a GetInventory call. It happens on my main account, but not on a new-ish one that I've created.

Edit: I'm using version 1.4.0. It also seems like this error occurs when I have pokemon currently deployed on a gym

ninjaprawn commented 8 years ago

I too have a pokemon on a gym, so that is probably why it is not working currently.

cbreezier commented 8 years ago

This is fixed since the PokemonData message was changed to optional string deployed_fort_id = 8; instead of an int32.

Are there any plans to release a new version? And also tag the 1.4.0 release commit as well as any new release commits?