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)
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.