How to set the session?

Hi when we try to run the get profile or any example data it shows me that

session expired
Token is invalid or has expired. 403 com.zerodhatech.kiteconnect.kitehttp.exceptions.TokenException

So i wanted to set the session for certain interval can we know where we can set the value.

  • sujith
    An access token is valid for one whole day.
    It will not expire unless you try to generateSession again.
    You need to store access token and reuse it for subsequent runs.
Sign In or Register to comment.