com.pokegoapi.exceptions.AsyncPokemonGoException

Unknown exception occurred.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web78

  • via GitHub by didierva
    , 11 months ago
    Unknown exception occurred.
  • via GitHub by fm360
    , 11 months ago
    Unknown exception occurred.
  • Unknown exception occurred.
  • Stack trace

    • com.pokegoapi.exceptions.AsyncPokemonGoException: Unknown exception occurred. at com.pokegoapi.util.AsyncHelper.toBlocking(AsyncHelper.java:45) at com.pokegoapi.main.RequestHandler.sendServerRequests(RequestHandler.java:155) at com.pokegoapi.api.settings.Settings.updateSettings(Settings.java:82) at com.pokegoapi.api.settings.Settings.<init>(Settings.java:69) at com.pokegoapi.api.PokemonGo.<init>(PokemonGo.java:95) at ink.abb.pogo.scraper.MainKt.startBot(Main.kt:180) at ink.abb.pogo.scraper.MainKt.startDefaultBot(Main.kt:145) at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:57) at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:46) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18) Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.pokegoapi.exceptions.RemoteServerException: Got a unexpected http code : 403 at rx.exceptions.Exceptions.propagate(Exceptions.java:58) at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:465) at rx.observables.BlockingObservable.first(BlockingObservable.java:168) at com.pokegoapi.util.AsyncHelper.toBlocking(AsyncHelper.java:37) ... 9 more Caused by: java.util.concurrent.ExecutionException: com.pokegoapi.exceptions.RemoteServerException: Got a unexpected http code : 403 at com.pokegoapi.main.RequestHandler$1.get(RequestHandler.java:109) at com.pokegoapi.main.RequestHandler$1.get(RequestHandler.java:86) at rx.internal.operators.OnSubscribeToObservableFuture$ToObservableFuture.call(OnSubscribeToObservableFuture.java:74) at rx.internal.operators.OnSubscribeToObservableFuture$ToObservableFuture.call(OnSubscribeToObservableFuture.java:43) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.subscribe(Observable.java:9957) at rx.Observable.subscribe(Observable.java:9924) at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:445) ... 11 more Caused by: com.pokegoapi.exceptions.RemoteServerException: Got a unexpected http code : 403 at com.pokegoapi.main.RequestHandler.internalSendServerRequests(RequestHandler.java:197) at com.pokegoapi.main.RequestHandler.run(RequestHandler.java:290) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.