Issue with the Kite Dev APIs

i am getting following error even when i use fresh token

data = kite.historical_data(instrument_code, from_str, to_str, interval)
File “build/bdist.linux-x86_64/egg/kiteconnect/”, line 608, in historical_data
File “build/bdist.linux-x86_64/egg/kiteconnect/”, line 697, in _get
File “build/bdist.linux-x86_64/egg/kiteconnect/”, line 766, in _request
kiteconnect.exceptions.InputException: invalid token

the same code was working till afternoon today. need help.

Maybe you can post this here.

1 Like