babelshift / SteamWebAPI2

🎮 C# / .NET library that makes it easy to use the Steam Web API. It conveniently wraps around all of the JSON data and ugly API details with clean methods, structures and classes.
MIT License
263 stars 43 forks source link

LiveLeagueGame.MatchId should be long instead of int #8

Closed alexshikov closed 8 years ago

alexshikov commented 8 years ago
Unhandled Exception:
Newtonsoft.Json.JsonReaderException: JSON integer 2149566304 is too large or small for an Int32. Path 'result.games[0].match_id', line 1, position 1104.
  at Newtonsoft.Json.JsonTextReader.ParseNumber (ReadType readType) <0x65c5fa8 + 0x0122f> in <filename unknown>:0 
...
  at SteamWebAPI2.Interfaces.DOTA2Match+<GetLiveLeagueGamesAsync>d__2.MoveNext () <0x4b0e8b8 + 0x001cb> in <filename unknown>:0
babelshift commented 8 years ago

Please run update-package to get the latest version. This should be fixed in 1.1.0.29.

Thanks. On Feb 13, 2016 11:51 AM, "Alexey Shikov" notifications@github.com wrote:

Unhandled Exception: Newtonsoft.Json.JsonReaderException: JSON integer 2149566304 is too large or small for an Int32. Path 'result.games[0].match_id', line 1, position 1104. at Newtonsoft.Json.JsonTextReader.ParseNumber (ReadType readType) <0x65c5fa8 + 0x0122f> in :0 ... at SteamWebAPI2.Interfaces.DOTA2Match+d__2.MoveNext () <0x4b0e8b8 + 0x001cb> in :0

— Reply to this email directly or view it on GitHub https://github.com/babelshift/SteamWebAPI2/issues/8.

alexshikov commented 8 years ago

That helped, thank you!