Trying to retrieve historic data, ending up with below error. What am i doing wrong?
com.zerodhatech.kiteconnect.kitehttp.exceptions.TokenException at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.dealWithException(KiteResponseHandler.java:48) at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.handle(KiteResponseHandler.java:20) at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.getRequest(KiteRequestHandler.java:54) at com.zerodhatech.kiteconnect.KiteConnect.getHistoricalData(KiteConnect.java:587)
@sujith Even after subscribing i get same error. In the below code what should be user id? kiteConnect = new KiteConnect(API_KEY); kiteConnect.setUserId(USER_ID);
kiteConnect = new KiteConnect(API_KEY);
kiteConnect.setUserId(USER_ID);