Wrote a basic piece of code to get the historical data and as I ran my eclipse, it's a bummer right on the start. I keep getting the sessionExpired message. 1. I wasn't logging in from anywhere 2. I have done this in the past. 3. My client ID is ZW2900 ..could you check your logs please at your end. 4. UserModel userModel = null; userModel = kiteconnect.requestAccessToken(requestToken, ""); kiteconnect.setAccessToken(userModel.accessToken); kiteconnect.setPublicToken(userModel.publicToken); System.out.println(userModel.accessToken); System.out.println(userModel.publicToken);
4. I had updated my code with accessToken and publicToken with whatever was printed in above but still a kiteException.
5. When this is not a rocket Science, why do I have a feeling that I am rather putting in a lot more efforts than I should have put. 6. Kindly note that I have got ticks successfully couple of days back and on multiple ocassions.
Time is Money and I am wasting a lot on the time here.
Are you running this code every time you run application?