com.google.protobuf.InvalidProtocolBufferException

Message missing required fields: items[1].item.PlayerStats.PrevLevelExp, items[1].item.PlayerStats.KmWalked, items[1].item.PlayerStats.NumEvolutions, items[1].item.PlayerStats.NumberOfPokeballThrown, items[1].item.PlayerStats.NumEggsHatched, items[1].item.PlayerStats.BigMagikarpCaught, items[1].item.PlayerStats.NumBattleAttackWon, items[1].item.PlayerStats.NumBattleAttackTotal, items[1].item.PlayerStats.NumBattleDefendedWon, items[1].item.PlayerStats.NumBattleTrainingWon, items[1].item.PlayerStats.NumBattleTrainingTotal, items[1].item.PlayerStats.PrestigeRaisedTotal, items[1].item.PlayerStats.PrestigeDroppedTotal, items[1].item.PlayerStats.NumPokemonDeployed, items[1].item.PlayerStats.SmallRattataCaught

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web41

  • via GitHub by DominikTrenz
    ,
  • Stack trace

    • com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: items[1].item.PlayerStats.PrevLevelExp, items[1].item.PlayerStats.KmWalked, items[1].item.PlayerStats.NumEvolutions, items[1].item.PlayerStats.NumberOfPokeballThrown, items[1].item.PlayerStats.NumEggsHatched, items[1].item.PlayerStats.BigMagikarpCaught, items[1].item.PlayerStats.NumBattleAttackWon, items[1].item.PlayerStats.NumBattleAttackTotal, items[1].item.PlayerStats.NumBattleDefendedWon, items[1].item.PlayerStats.NumBattleTrainingWon, items[1].item.PlayerStats.NumBattleTrainingTotal, items[1].item.PlayerStats.PrestigeRaisedTotal, items[1].item.PlayerStats.PrestigeDroppedTotal, items[1].item.PlayerStats.NumPokemonDeployed, items[1].item.PlayerStats.SmallRattataCaught at com.google.protobuf.UninitializedMessageException.asInvalidProtocolBufferException(UninitializedMessageException.java:81) at com.google.protobuf.AbstractParser.checkMessageInitialized(AbstractParser.java:71) at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:125) at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:130) at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49) at com.pokegoapi.main.Inventory$InventoryResponseProto.parseFrom(Inventory.java:4481) at com.pokegoapi.requests.InventoryRequest.handleResponse(InventoryRequest.java:52) at com.pokegoapi.main.RequestHandler.sendRequests(RequestHandler.java:101) at com.pokegoapi.api.PokemonGo.getInventory(PokemonGo.java:64) at com.pokegoapi.api.PokemonGo.<init>(PokemonGo.java:35) at com.pokegoapi.api.Main.main(Main.java:13)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,