I am trying to establish connection using Kite Connect Library. But I always get 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) at main.java.com.algotrading.api.zerodha.login.ZerodhaLogin.Login(ZerodhaLogin.java:28) at main.java.com.algotrading.main.MainClass.main(MainClass.java:10)
My code is as below: // Initialize Kiteconnect using apiKey. KiteConnect kiteConnect = new KiteConnect(Constants.API_KEY);
// Set userId. kiteConnect.setUserId(Constants.ZERODHA_ID);
Can you private message your api_key? We will check and get back to you.