{"action":"created","issue":{"url":"https://api.github.com/repos/trydis/FIFA-Ultimate-Team-Toolkit/issues/162","labels_url":"https://api.github.com/repos/trydis/FIFA-Ultimate-Team-Toolkit/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/trydis/FIFA-Ultimate-Team-Toolkit/issues/162/comments","events_url":"https://api.github.com/repos/trydis/FIFA-Ultimate-Team-Toolkit/issues/162/events","html_url":"https://github.com/trydis/FIFA-Ultimate-Team-Toolkit/issues/162","id":110403552,"number":162,"title":"\"PlayerSearch\" error","user":{"login":"sesey","id":5672243,"avatar_url":"https://avatars.githubusercontent.com/u/5672243?v=3","gravatar_id":"","url":"https://api.github.com/users/sesey","html_url":"https://github.com/sesey","followers_url":"https://api.github.com/users/sesey/followers","following_url":"https://api.github.com/users/sesey/following{/other_user}","gists_url":"https://api.github.com/users/sesey/gists{/gist_id}","starred_url":"https://api.github.com/users/sesey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sesey/subscriptions","organizations_url":"https://api.github.com/users/sesey/orgs","repos_url":"https://api.github.com/users/sesey/repos","events_url":"https://api.github.com/users/sesey/events{/privacy}","received_events_url":"https://api.github.com/users/sesey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-08T09:10:24Z","updated_at":"2015-10-08T09:29:40Z","closed_at":null,"body":"After logging in, I do players search.\r\n\r\n        private async void button_Click(object sender, RoutedEventArgs e)\r\n        {\r\n            try\r\n            {\r\n                var searchParameters = new PlayerSearchParameters\r\n                {\r\n                    Page = 1,\r\n                    Level = Level.Gold,\r\n                    League = League.BarclaysPremierLeague,\r\n                    Nation = Nation.England,\r\n                    Position = Position.Attackers,\r\n                    Team = Team.ManchesterUnited,\r\n                };\r\n                var searchResponse = await client.SearchAsync(searchParameters);\r\n                foreach (var auctionInfo in searchResponse.AuctionInfo)\r\n                {\r\n                    // Handle auction data\r\n                }\r\n            }\r\n            catch (Exception exception)\r\n            {\r\n                MessageBox.Show(exception.ToString());\r\n            }\r\n            \r\n        }\r\n\r\n\r\nerros is here.\r\n\"deserializedObject = JsonConvert.DeserializeObject<T>(messageContent, JsonSerializerSettings);\"\r\n\"messageContent\" It is listed players but \"deserializedObject\" is null.\r\n\r\n       protected static async Task<T> Deserialize<T>(HttpResponseMessage message) where T :class\r\n        {\r\n            message.EnsureSuccessStatusCode();\r\n            var messageContent = await message.Content.ReadAsStringAsync();\r\n            T deserializedObject = null;  \r\n            try\r\n            {\r\n                deserializedObject = JsonConvert.DeserializeObject<T>(messageContent, JsonSerializerSettings);\r\n            }\r\n            catch (JsonSerializationException serializationException)\r\n            {\r\n                try\r\n                {\r\n                    var futError = JsonConvert.DeserializeObject<FutError>(messageContent, JsonSerializerSettings);\r\n                    MapAndThrowException(serializationException, futError);\r\n                }\r\n                catch (JsonSerializationException)\r\n                {\r\n                    throw serializationException;\r\n                }\r\n            }\r\n\r\n            return deserializedObject;\r\n        }\r\n\r\nerror message\r\n<a href=\"http://tinypic.com?ref=207km4y\" target=\"_blank\"><img src=\"http://i57.tinypic.com/207km4y.png\" border=\"0\" alt=\"Image and video hosting by TinyPic\"></a>"},"comment":{"url":"https://api.github.com/repos/trydis/FIFA-Ultimate-Team-Toolkit/issues/comments/146471257","html_url":"https://github.com/trydis/FIFA-Ultimate-Team-Toolkit/issues/162#issuecomment-146471257","issue_url":"https://api.github.com/repos/trydis/FIFA-Ultimate-Team-Toolkit/issues/162","id":146471257,"user":{"login":"sesey","id":5672243,"avatar_url":"https://avatars.githubusercontent.com/u/5672243?v=3","gravatar_id":"","url":"https://api.github.com/users/sesey","html_url":"https://github.com/sesey","followers_url":"https://api.github.com/users/sesey/followers","following_url":"https://api.github.com/users/sesey/following{/other_user}","gists_url":"https://api.github.com/users/sesey/gists{/gist_id}","starred_url":"https://api.github.com/users/sesey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sesey/subscriptions","organizations_url":"https://api.github.com/users/sesey/orgs","repos_url":"https://api.github.com/users/sesey/repos","events_url":"https://api.github.com/users/sesey/events{/privacy}","received_events_url":"https://api.github.com/users/sesey/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T09:29:40Z","updated_at":"2015-10-08T09:29:40Z","body":"I got the same error."}}