So the issue of checksum remains from the beginning. Does your team know how to resolve this?
If you see the details in the error posted, the throwback is related to checksum.
I saw in the kite connect app, and the necessary permissions are correctly set.
In regards to the access_token, when I run print(data), this. is what I get:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade:443
DEBUG:…
tried it from the terminal and same error persists. Btw, something popped up in my mind. In all my trading bots, I have to give permissions to API, but in Zerodha/Kite, no such prompt has been asked by me so far. Is it because of this lack of permis…
kite = KiteConnect(api_public) # this the api_key
# Redirect the user to the login url obtained
# from kite.login_url(), and receive the request_token
# from the registered redirect url after the login flow.
# Once you have the request_token, obtain…
not working. Getting the same error again. Those threads are not related to Python. Also, I copied the request_token, and pasted it in my browser, it gives me the following:
{"status":"error","message":"Invalid `api_key`","data":null,"error_type":"…
Below is the original method - generate_session - in the code:
h = hashlib.sha256(self.api_key.encode("utf-8") + request_token.encode("utf-8") + api_secret.encode("utf-8"))
checksum = h.hexdigest()
resp = self._post("api.tok…