kite connect error

GUR
What is request tokens
What is access token

Why I am getting the following errors
"kiteconnect.exceptions.TokenException: Token is invalid or has expired”

Pl guide


  • salim_chisty
    You can check out the documentation for the login flow. You can refer to he similar discussion here.
  • GUR
    i am able to proceed further - but now it is saying token is invalid
  • salim_chisty
    Your access token might have expired. You need to fetch a new access token. An access token is valid for one whole day. Once you get an access token, you don't have to request it again unless you are logged out.

    A request token is valid for a couple of minutes and can be used only once. You should not request for access token for every run. Make sure you store the access token in preferences or a database and reuse it in the next run, and don't call generateSession for every run.
  • GUR
    i am having an issue again. can you call back to get perfect clarity on 99227 34567
  • sujith
    You may refer to this thread.
Sign In or Register to comment.