Invalid Checksum

rishiajmera
rishiajmera edited August 2017 in Python client
When I try to run the below code, It gives me error "invalid checksum"
Please help.
Thanks in advance.

Note: There is no error of indentation. I don't know why I can't add spaces in code.

my_api_key = "***"
my_request_token = "***"
my_secret_key = "***"
try:
kite = KiteConnect(api_key = my_api_key)
data = kite.request_access_token( request_token = my_request_token , secret= my_secret_key)
kite.set_access_token(data["access_token"])
print ("Access token: " + data["access_token"])
except Exception as e:
print("Connection could not be established...",str(e))
raise

This discussion has been closed.