{"action":"created","issue":{"url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/345","repository_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java","labels_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/345/comments","events_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/345/events","html_url":"https://github.com/Grover-c13/PokeGOAPI-Java/issues/345","id":168353652,"number":345,"title":"exception in GoogleUserCredentialProvider","user":{"login":"jchunly","id":20722894,"avatar_url":"https://avatars.githubusercontent.com/u/20722894?v=3","gravatar_id":"","url":"https://api.github.com/users/jchunly","html_url":"https://github.com/jchunly","followers_url":"https://api.github.com/users/jchunly/followers","following_url":"https://api.github.com/users/jchunly/following{/other_user}","gists_url":"https://api.github.com/users/jchunly/gists{/gist_id}","starred_url":"https://api.github.com/users/jchunly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchunly/subscriptions","organizations_url":"https://api.github.com/users/jchunly/orgs","repos_url":"https://api.github.com/users/jchunly/repos","events_url":"https://api.github.com/users/jchunly/events{/privacy}","received_events_url":"https://api.github.com/users/jchunly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-07-29T15:42:00Z","updated_at":"2016-07-29T19:32:18Z","closed_at":null,"body":"Hi. Here my code. where token is the string returned by the web Authenticating google .\r\nall code is inside a asytask\r\n\r\nOkHttpClient http = new OkHttpClient();\r\n\t\ttry{\r\n\t\t   GoogleUserCredentialProvider provider = new GoogleUserCredentialProvider(http);\r\n\t\t   Scanner sc = new Scanner(token);\r\n\t\t   String access = sc.nextLine();\r\n\t\t   provider.login(access);\r\n\t\t   PokemonGo go = new PokemonGo(provider, http);\r\n\t\t}catch(LoginFailedException e){\r\n\t\t\tLog.d(\"Julian\",\"Fallo en el login\",e);\r\n\t\t}catch(RemoteServerException e){\r\n\t\t\tLog.d(\"Julian\",\"Fallo en el servidor \",e);\r\n\t\t}\r\n\r\nUpon reaching the line of pokemon go gives me the following exception .\r\n\r\n com.pokegoapi.exceptions.LoginFailedException: invalid_request\r\n07-29 17:24:41.759 1239 1357 D     Julian com.jchunly.pokenotificator2          at com.pokegoapi.auth.GoogleUserCredentialProvider.refreshToken(GoogleUserCredentialProvider.java:159)\r\n07-29 17:24:41.759 1239 1357 D     Julian com.jchunly.pokenotificator2          at com.pokegoapi.auth.GoogleUserCredentialProvider.getAuthInfo(GoogleUserCredentialProvider.java:232)\r\n07-29 17:24:41.759 1239 1357 D     Julian com.jchunly.pokenotificator2          at com.pokegoapi.api.PokemonGo.getAuthInfo(PokemonGo.java:93)\r\n07-29 17:24:41.759 1239 1357 D     Julian com.jchunly.pokenotificator2          at com.pokegoapi.main.RequestHandler.resetBuilder(RequestHandler.java:253)\r\n07-29 17:24:41.759 1239 1357 D     Julian com.jchunly.pokenotificator2          at com.pokegoapi.main.RequestHandler.resetBuilder(RequestHandler.java:238)\r\n07-29 17:24:41.759 1239 1357 D     Julian com.jchunly.pokenotificator2          at com.pokegoapi.main.RequestHandler.<init>(RequestHandler.java:60)\r\n07-29 17:24:41.759 1239 1357 D     Julian com.jchunly.pokenotificator2          at com.pokegoapi.api.PokemonGo.<init>(PokemonGo.java:74)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/comments/236273085","html_url":"https://github.com/Grover-c13/PokeGOAPI-Java/issues/345#issuecomment-236273085","issue_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/345","id":236273085,"user":{"login":"Medusalix","id":8124898,"avatar_url":"https://avatars.githubusercontent.com/u/8124898?v=3","gravatar_id":"","url":"https://api.github.com/users/Medusalix","html_url":"https://github.com/Medusalix","followers_url":"https://api.github.com/users/Medusalix/followers","following_url":"https://api.github.com/users/Medusalix/following{/other_user}","gists_url":"https://api.github.com/users/Medusalix/gists{/gist_id}","starred_url":"https://api.github.com/users/Medusalix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Medusalix/subscriptions","organizations_url":"https://api.github.com/users/Medusalix/orgs","repos_url":"https://api.github.com/users/Medusalix/repos","events_url":"https://api.github.com/users/Medusalix/events{/privacy}","received_events_url":"https://api.github.com/users/Medusalix/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T19:32:18Z","updated_at":"2016-07-29T19:32:18Z","body":"@jchunly You could use [Jitpack](https://jitpack.io/#Grover-c13/PokeGOAPI-Java/0.2), so the dependency is automatically compiled from the Github repo."}}
{"actor":{"display_login":"Medusalix"}}