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

java.lang.NoSuchMethodError: okio.BufferedSource.getBuffer()Lokio/Buffer;
at okhttp3.logging.HttpLoggingInterceptor.intercept( ~[logging-interceptor-3.14.6.jar:na]
at okhttp3.internal.http.RealInterceptorChain.proceed( ~[okhttp-3.14.6.jar:na]
at okhttp3.internal.http.RealInterceptorChain.proceed( ~[okhttp-3.14.6.jar:na]
at okhttp3.RealCall.getResponseWithInterceptorChain( ~[okhttp-3.14.6.jar:na]
at okhttp3.RealCall.execute( ~[okhttp-3.14.6.jar:na]
at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.postRequest( ~[kiteconnect-3.1.0.jar:na]
at com.zerodhatech.kiteconnect.KiteConnect.placeOrder( ~[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.