It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Error in getting Access Token for kite connect API
Can anyone help me with the error?
I successfully generated request_token, checksum and I am trying to get access_token with the following python code snippet.
access_token = urllib.request.urlopen(access_token_link).read()
I could see access_token link is properly formed but the access_token giving error.
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
You need to make a post request for the access token and request token, api_key and api_secret must be hashed while sending as params. Please take a look at python code to know more
Thanks Sujith for the response.
I am using checksum as the hashed value of api_key, request_token,api_secret in the url. I did not get any issues for these values except access_key.
I am a learner on this technology, would you mind mentioning the syntax for POST request. Thanks for the help.
I found the solution. Below is the code snippet that will give access_key.
This discussion has been closed.