Historical data api

YX0694
Hi, I have regular API access and that code is working. I just now ( like 15 mins back) also took Historical data API access. However when I using code to get historical data then I am getting the error "kiteconnect.exceptions.InputException: Invalid `api_key` or `access_token`." Does it take time for API access to be activated or what it is
  • rakeshr
    You will have to invalidate access_token after a new subscription. You can go through this thread to know more.
  • YX0694
    Worked like a charm..thanks..invalidate session works but I had to explicitly set once the access code for it to work
This discussion has been closed.