regarding generation of request token

MankiratSingh
I am using code in order to fetch the strike data for a given day using zerodha api kite connect [ using kite_token.json in which request token gets saved] the request token gets generated upon execution of code on the system within which the entirety of code is created however when the copy of same jupyter notebook is executed on a different system the invlaid api key error is showcased
  • salim_chisty
    The Invalid API key error on a different system is because request_token and access_token are session-specific, single-use, and non-portable, and cannot be reused across machines or environments.
    Each system must perform its own OAuth login flow (login_url → request_token → access_token) at least once per trading day. Sharing kite_token.json across systems is unsupported and will result in authentication failures.
Sign In or Register to comment.