In order to get the session token, I am trying to login using the login.url. I am not able to login. I am getting the below error message. {"status":"error","message":"Invalid or expired connect session. Try re-initiating login.","data":null,"error_type":"InputException"}
You need to remove the double quote from the api key. It will be https://kite.zerodha.com/connect/login?api_key=XXXXXXXXXXXX&v=3 Go through the documentation here.
Go through the login FAQs here.
https://kite.zerodha.com/connect/login?api_key="XXXXXXXXXXXX"&v=3
I am using the actual api_key in my account instead of "XXXXXXXXXXXXXXX"
https://kite.zerodha.com/connect/login?api_key=XXXXXXXXXXXX&v=3
Go through the documentation here.