KiteConnect.placeOrder giving error in java , is there anything wrong with kite api today ?

sivannarayanagunji
java.lang.NoSuchMethodError: okio.BufferedSource.getBuffer()Lokio/Buffer;
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:252) ~[logging-interceptor-3.14.6.jar:na]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.6.jar:na]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.6.jar:na]
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229) ~[okhttp-3.14.6.jar:na]
at okhttp3.RealCall.execute(RealCall.java:81) ~[okhttp-3.14.6.jar:na]
at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.postRequest(KiteRequestHandler.java:83) ~[kiteconnect-3.1.0.jar:na]
at com.zerodhatech.kiteconnect.KiteConnect.placeOrder(KiteConnect.java:291) ~[kiteconnect-3.1.0.jar:na]
  • sujith
    Are you sure you are using the right library versions? You can confirm from here.
  • sivannarayanagunji
    i think the error is due to blocked BO/CO .
  • sujith
    Even if it is blocked, the exception is thrown in this format which is handled by the javakiteconnect
  • sujith
    The above log says you seem to be using old version of the logger. Try using the one which is there in the repository.
Sign In or Register to comment.