I have generated the request token but login into the URL, allowing all the Permissions etc, but getting the following errors wile using the request token
kite.generate_session("wwww",api_secret="qqqq") in () ----> 1 data = kite.generate_session("wwww",api_secret="qqqq")
Environment Used: Anaconda using jupyter notebook 5.6.0 , using kite connect from pykiteconnect I have followed the documentation at https://kite.trade/docs/pykiteconnect/v3/ & the Webinar as well.
It would would be really helpful is anyone can assist on this issue.
====Complete Code==== import logging from kiteconnect import KiteConnect api_key = "qqqq" api_secret = "qqqq" logging.basicConfig(level=logging.DEBUG) kite = KiteConnect(api_key="qqqq") kite.login_url() OUT ==> 'https://kite.trade/connect/login?api_key=qqqq&v=3' data = kite.generate_session("request_token",api_secret="qqqq")
This will redirect you to Kite login page, you need to login and after successful login, url will have request token.You need to use this request token here kite.generate_session("request_token",api_secret="qqqq"). Make sure, you are capturing correct request token.Have a check here on documentation.
kite.generate_session("request_token",api_secret="qqqq")
.Make sure, you are capturing correct request token.Have a check here on documentation.