getInstruments from kiteConnect throws error

Srikrishna_Rowthu
Below is the error while trying to get Instruments from kiteConnect. Can you quickly look into it?

java.lang.IllegalStateException: closed
at okio.RealBufferedSource.rangeEquals(RealBufferedSource.java:398)
at okio.RealBufferedSource.rangeEquals(RealBufferedSource.java:392)
at okhttp3.internal.Util.bomAwareCharset(Util.java:449)
at okhttp3.ResponseBody.string(ResponseBody.java:174)
at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.handle(KiteResponseHandler.java:34)
at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.getCSVRequest(KiteRequestHandler.java:150)
at com.zerodhatech.kiteconnect.KiteConnect.getInstruments(KiteConnect.java:624)
  • sujith
    Is this still happening? It seems fine from our end.
  • Srikrishna_Rowthu
    It was fine after some time, it's working now. But initially had this problem for some time. Can you try to diagnose your api everyday before the market hours.
Sign In or Register to comment.