With the new v3 API, I always get invalid checksum error, though I am able to login to kite3.zerodha.com on the same browser
Below is the code Please let me know what is missing here.
Even tried regenerating the api_secret. Renewed my subscription only few hours back, if that helps.
import logging import webbrowser from kiteconnect import KiteConnect from kiteconnect import KiteTicker
def main(): ''' The Main '''
logging.basicConfig(level=logging.DEBUG)
apiKey = 'xxx' apiSecret = 'xxxxxx'
kite = KiteConnect(api_key=apiKey)
# Login using web browser webbrowser.open(kite.login_url())
# 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 the access_token # as follows.
reqTkn = input('Bla: ')
print(">>>", reqTkn) data = kite.generate_session(reqTkn, api_secret=apiSecret)