SmartAPI Session Invalid / Token Expiry Issue – Urgent


  • Hello SmartAPI Support Team,

    I am facing continuous authentication issues while using SmartAPI for live trading.
    Client ID: S237783
    Even after successful login and session generation, API calls like getLtpData and getCandleData are returning errors:

    Error Codes Observed:
    AB1010 – Invalid Session or Session Expired
    AG8001 – Invalid Token

    This happens immediately after login, making the API unusable.

    Steps already tried:
    • Fresh login with new TOTP

    Request you to please check if there is any backend session lock or API key restriction on my account.

    This is impacting live trading, so kindly treat this as urgent.

    Attached: Error logs


  • @s237783-0 it has actually been this way all weekend.


  • @admin Please check i am also having same issue.

    after login the token seems to be invalid


  • @meenavenkit This is an intermittent issue. You can try "Logout from all devices" from the website and can try again. Try with mobile internet on local machine that has new IP everytime to verify if it's an IP related issue.