I get following exception every second time , and i have to regenerate request_token again
Traceback (most recent call last):
File "example.py", line 9, in
print kite.request_access_token(request_token,api_secrete)
File "/usr/local/lib/python2.7/dist-packages/kiteconnect/__init__.py", line 269, in request_access_token
"checksum": checksum
File "/usr/local/lib/python2.7/dist-packages/kiteconnect/__init__.py", line 581, in _post
return self._request(route, "POST", params)
File "/usr/local/lib/python2.7/dist-packages/kiteconnect/__init__.py", line 668, in _request
raise(exp(data["message"], code=r.status_code))
kiteconnect.exceptions.TokenException: Invalid session credentials
i have active historical data subscription and its expiring without using only because nowhere straightway example is mentioned , i dont understand why u dont paste examples here and save our time? instead of making us search all over
git clone https://github.com/zerodhatech/pykiteconnect/tree/kite3
Cloning into 'kite3'...
fatal: repository 'https://github.com/zerodhatech/pykiteconnect/tree/kite3/' not found
why dont you paste the example here itself , isnt it simple
Thanks Sujit ,
i could get request_access_token working for couple of hours , its getting expired once in every few hours.
in between is there any way to generate permanent one ? is there API to check request_access_token if valid . is there any…