Although I'm able to see my account information using API( kite.holdings() works !), I'm unable to fetch historic data. Error: 'kiteconnect.exceptions.InputException: invalid token'. I've already lost 3 days to the issue. Please suggest what might be going wrong ? Is the method for generating access token for historical data different than regular API access token ? Thank you !
You are using wrong instrument token used to fetch historical data for the respective contract. You can fetch latest instrument data using instrument-list.