It looks like you're new here. If you want to get involved, click one of these buttons!
from kiteconnect import KiteConnect
from pprint import pprint
api_key = "your api key"
api_secret = "uw8w2eh8zymsssee5yykssaw7suylclqahz19zl"
kite = KiteConnect(api_key=api_key)
print(kite.login_url())
# data = kite.generate_session("ZH2rUgBasdfgaU7YiDd4VapO2ouEzgyiZ5JJ", api_secret)
# pprint(data)
kite.set_access_token("4Ru80BwnlMHasdfFXSd8UgN2D1JcigBj9EOJ")
pprint(kite.orders())
Traceback (most recent call last):
You seem to be re-using the request token which is not right. I would suggest looking at this thread and modifying your code.
If you still have an issue then post the complete stack trace here by removing the session and user tokens.
Make sure to use it for the only for the user with which the Kite Connect app is created.