kRapaille / LeagueOfLegendsAPI

Portable C# Library for League of legends API
http://xeex.github.io/LeagueOfLegendsAPI
MIT License
19 stars 7 forks source link

JsonReaderException while invoking RetrievesLeaguesEntryDataForSummonerAsync() #41

Closed GrzegorzJanik closed 10 years ago

GrzegorzJanik commented 10 years ago

SummonerId: 34733453 Region: EUNE

I am not sure it is your library issue but it occurs.

kRapaille commented 10 years ago

Could you send me the StackTrace of your JsonReaderException ?

As this player is unranked, the expected exception is an APIRequestException with the message "Not found" and the status code 404.

GrzegorzJanik commented 10 years ago

Searching that summoner today is not causing an exception. That may be because RIOT API is sometimes not returning data as it is expected.