ayyaz

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

About

Username
ayyaz
Joined
Visits
316
Last Active
Roles
Member

Activity

  • 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
    November 2017