Closed higgsja closed 4 years ago
Hi @higgsja
No need to build the Tda client lib yourself. Instead, just use the 2.0.1 (or 2.0.0) in your pom or gradle build file. Don't use a 2.0.0-SNAPSHOT. It will pull the dependency from Maven Central like all other dependencies, and that should work as others had the same problem.
Let me know if that works!
Ok, I am not familiar with how to do that. I cannot find the .jar on the Maven repository, which is what I use to get the config line for my gradle build file.
Where do I get that for this?
If you look on the readme or the main github page it’s on the first or second paragraph under ‘usage’.
On Tue, May 19, 2020, at 08:01, higgsja wrote:
Ok, I am not familiar with how to do that. I cannot find the .jar on the Maven repository, which is what I use to get the config line for my gradle build file.
Where do I get that for this?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/studerw/td-ameritrade-client/issues/11#issuecomment-630772989, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHJA7JJIDEZR7PKLZU3ALRSJYJNANCNFSM4NBRZBCQ.
ref #9, #8 I am now experiencing this issue. Created new refresh token, checked on the tdAmeritrade site with joy.
Created a clean download with git (more than once), rebuilt, no joy. Using Java 1.8.
java.lang.IllegalStateException: Failed to get auth token using current refresh token at com.studerw.tda.client.OauthInterceptor.intercept(OauthInterceptor.java:60) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184) at okhttp3.RealCall.execute(RealCall.kt:66) at com.studerw.tda.client.HttpTdaClient.getOptionChain(HttpTdaClient.java:668) at com.hpi.appcontrollers.TDAmeritradeFetchOptionsController.doPrices(TDAmeritradeFetchOptionsController.java:39) at com.hpi.appcontrollers.CmdLineController.doCommandLine(CmdLineController.java:224) at com.hpi.appcontrollers.AppController.startApp(AppController.java:61) at com.hpi.appTPCcli.TPCcliEx.main(TPCcliEx.java:19)