data = kite.historical_data(data_from, data_to, 3535361, "day", True, False)
The error returned is kiteconnect.exceptions.InputException: invalid token
I subscribed for the historical data AFTER subscribing to the API
I had already created request & access tokens for the day before subscribing to the Historical API
I have tried logging out and logging back in but this does not change it.
I suspect that the access tokens for the day which are saved in Zerodha's database might have some permissions associated to it at the time of saving them. So logging out and logging back is not useful as the access token is not changing.
I am losing a day of subscription as I cannot proceed.