Jump to content
  • 0

412 Precondition Failed


Guest GivaDogaBone

Question

Guest GivaDogaBone

Hi,

I'm always getting this error in my app and causing it to stop every few minutes. Do you have any idea why ig server is returning this 412 Precondition Failed?

 

12:36:53.920 [main] ERROR c.i.w.n.Application - Unexpected error:
org.springframework.web.client.HttpClientErrorException: 412 Precondition Failed
        at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91)
        at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:667)
        at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:620)
        at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:580)
        at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:498)
        at com.iggroup.webapi.strategy.client.RestAPI.updateActiveAccountV1(RestAPI.java:208)
        at com.iggroup.webapi.strategy.Application.switchAccount(Application.java:465)
        at com.iggroup.webapi.strategy.Application.run(Application.java:362)
        at com.iggroup.webapi.strategy.Application.lambda$run$0(Application.java:251)
        at org.springframework.boot.ExitCodeGenerators.getExitCode(ExitCodeGenerators.java:90)
        at org.springframework.boot.SpringApplication.exit(SpringApplication.java:1232)
        at com.iggroup.webapi.strategy.Application.run(Application.java:251)
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:806)
        at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:790)
        at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:777)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
        at com.iggroup.webapi.strategy.Application.main(Application.java:455)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)
12:36:53.937 [main] INFO  c.i.w.n.Application - Done

 

Regards,

GivaDogaBone

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...