heroiclabs / nakama-cpp

Generic C/C++ client for Nakama server.
https://heroiclabs.com/docs/cpp-client-guide
Apache License 2.0
73 stars 25 forks source link

listFriends failing on 2.3.0 against 2.13.0 server. #36

Closed cc-001 closed 3 years ago

cc-001 commented 4 years ago

Error:

[2020.10.27-21.24.11:348][337]LogOnlineFriend: Error: OSS: FOnlineFriendsNakama::ReadFriendsList failed Parse JSON failed. HTTP body: {"friends":[{"user":{"id":"c68b196b-af9d-407f-ba25-4210b47eecc4","username":"player_126eed7bf1","display_name":"player_126eed7bf1","lang_tag":"en","metadata":"{}","create_time":"2020-10-27T20:52:16Z","update_time":"2020-10-27T21:23:39Z"},"state":1,"update_time":"2020-10-27T21:23:39Z"}]} error: INVALID_ARGUMENT:friends[0]: Cannot find field.
novabyte commented 4 years ago

Thanks @cc-001. We'll need to create a new release with this update on master in it: https://github.com/heroiclabs/nakama-cpp/commit/fa6d20d09709da6c8cbcee3cd4fd49d90606246d.