org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'main': Invocation of init method failed; nested exception is com.pokegoapi.exceptions.LoginFailedException: Error in API Url

GitHub | KyleBoyer | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 242#234812766

    GitHub | 7 months ago | KyleBoyer
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'main': Invocation of init method failed; nested exception is com.pokegoapi.exceptions.LoginFailedException: Error in API Url
  2. 0

    Login errors

    GitHub | 7 months ago | Rishabhpatted24
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'main': Invocation of init method failed; nested exception is com.pokegoapi.exceptions.LoginFailedException: Error in API Url
  3. 0

    GitHub comment 242#234815089

    GitHub | 7 months ago | mpwer
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'main': Invocation of init method failed; nested exception is com.pokegoapi.exceptions.LoginFailedException: Error in API Url
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem w logging in PTC Account! :(

    GitHub | 7 months ago | Zeift
    com.pokegoapi.exceptions.LoginFailedException: Error in API Url

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.pokegoapi.exceptions.LoginFailedException

      Error in API Url

      at com.pokegoapi.main.RequestHandler.sendServerRequests()
    2. com.pokegoapi.main
      RequestHandler.sendServerRequests
      1. com.pokegoapi.main.RequestHandler.sendServerRequests(RequestHandler.java:149)
      1 frame
    3. com.pokegoapi.api
      PokemonGo.<init>
      1. com.pokegoapi.api.player.PlayerProfile.updateProfile(PlayerProfile.java:79)
      2. com.pokegoapi.api.player.PlayerProfile.<init>(PlayerProfile.java:67)
      3. com.pokegoapi.api.PokemonGo.<init>(PokemonGo.java:66)
      3 frames
    4. ink.abb.pogo
      Main.createBot
      1. ink.abb.pogo.scraper.services.BotRunService.login(BotRunService.kt:72)
      2. ink.abb.pogo.scraper.services.BotRunService.submitBot(BotRunService.kt:35)
      3. ink.abb.pogo.scraper.Main.createBot(Main.kt:72)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    6. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:354)
      2. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:305)
      3. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      8. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      9. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      10. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      12. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
      12 frames
    7. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
      2 frames
    8. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)
      2. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:306)
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)
      5 frames
    9. ink.abb.pogo
      MainKt.main
      1. ink.abb.pogo.scraper.MainKt.main(Main.kt:106)
      1 frame