I am trying to initialize KiteConnect object using Java client. Below is the code: KiteConnect kiteConnect = new KiteConnect(Constants.API_KEY); kiteConnect.setUserId(Constants.ZERODHA_ID);
I am getting below error: com.rainmatter.kitehttp.exceptions.KiteTokenException at com.rainmatter.kitehttp.KiteRequest.dealWithKiteException(KiteRequest.java:255) at com.rainmatter.kitehttp.KiteRequest.postRequest(KiteRequest.java:51) at com.rainmatter.kiteconnect.KiteConnect.requestAccessToken(KiteConnect.java:181)
Thanks