Error in getting Access token

uamit
Traceback (most recent call last):
data = kite.generate_session(request_token, api_secret=api_secret)
File "C:\Users\Amit\AppData\Local\Programs\Python\Python37\lib\site-packages\kiteconnect\connect.py", line 252, in generate_session
"checksum": checksum
File "C:\Users\Amit\AppData\Local\Programs\Python\Python37\lib\site-packages\kiteconnect\connect.py", line 821, in _post
return self._request(route, "POST", params)
File "C:\Users\Amit\AppData\Local\Programs\Python\Python37\lib\site-packages\kiteconnect\connect.py", line 886, in _request
raise exp(data["message"], code=r.status_code)
kiteconnect.exceptions.TokenException: Token is invalid or has expired.

have generated request token 5 - 6 time and interval as well of 10-15 mins but still facing error. and coulnt get access token
Sign In or Register to comment.