Unable to login

Ntra
Hi,
I am unable to login today using api. I can see that I am logged in to both kite.zerodha.com as well as kite.trade. I changed my password today morning, could that be the issue?
  • Ntra
    Tried regenerating secret api, also tried the standard example code given at https://github.com/rainmattertech/pykiteconnect,

    I still get invalid token message. What is happenning?
  • sujith
    Can you let us know which password you changed today?
  • Ntra
    kite.zerodha.com password
  • sujith
    Did you get request token or is it showing error on Kite Connect login page?
    Can you give us more details regarding the error?
    Is it blocking at 2fa or login? What is the error message?
  • Ntra
    I got the request token, this is the usual process I follow. The code was working fine earlier, so I am sure code is not the problem. I also tried the example code you've put on python page.

    The error is not on web-page. I am using python api, I get the request token, set access token and then call margins api to check for validity of token. If the access token is invalid i.e. if there is an exception thrown, I use login_url to get the access token and cache it and attempt to relogin.

    Invalid token error appears when I call margins api?
  • Ntra
    I have reset 2fa questions as well as password for kite.zerodha today.
  • Ntra
    This works now, thanks
This discussion has been closed.