Jump to content
  • 0

412 Precondition Failed

Guest GivaDogaBone


Guest GivaDogaBone


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




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
  • General Statistics

    • Total Topics
    • Total Posts
    • Total Members
    • Most Online
      10/06/21 10:53

    Newest Member
    Joined 26/09/23 17:31
  • Posts

    • Analysts have noted a historical correlation between crypto prices and the stock market, particularly in relation to interest rate decisions. Post FOMC decision witness Bitcoin’s price showed little change drop to about 0.17% on the day while other crypto like the Bitget BGB recorded a mild gain. Crypto market analyst TXMC has warned of a potential recession in 2024 due to tight credit conditions, which could influence both stock and Bitcoin prices.
    • If that's the case, then I believe the next step is for the dev team to create an in-app EVM wallet that can process payment natively for PayPal users who wishes to use the stablecoin for transaction on the platform
    • Reading through the news earlier on X.com, I really do not fault the reason behind their decision because of the risk of scam and fraud but on the other hand I felt what they should have done was to tighten their KYC policy and use a more secured main chain for transactions. Anyways JP Morgan has always been an anti-crypto for a very long time so I never expect anything different. I just hope UK residents who are crypto enthusiasts realize there are several ways you can transact your crypto and fiat without Chase Bank and one of them is to use a P2P exchange like kucoin and Bitget
  • Create New...