Error in getting Access token

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\", line 252, in generate_session
"checksum": checksum
File "C:\Users\Amit\AppData\Local\Programs\Python\Python37\lib\site-packages\kiteconnect\", line 821, in _post
return self._request(route, "POST", params)
File "C:\Users\Amit\AppData\Local\Programs\Python\Python37\lib\site-packages\kiteconnect\", 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.