generate_session(self, request_token, api_secret) - not working from today

NI8213
generate_session(self, request_token, api_secret) API not working from today morning.

The error is kiteconnect.exceptions.TokenException: Token is invalid or has expired.
I confirmed that api_secret is correct and I have a doubt on request token.

After login, login url is https://kite.zerodha.com/connect/login?sess_id="32 characters" &api_key=my api key'
This sess_id is used as the request token.

Previously, I could see a request token but now it is session_id. My procedure is below.

kite = KiteConnect(api_key=aki_key)
kite.generate_session(sess_id, api_secret)

Please let me know how to fix it.
Sign In or Register to comment.