Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    SmartAPI Session Invalid / Token Expiry Issue – Urgent

    Python SDK
    4
    4
    16
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      S237783 0 last edited by

      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

      D 1 Reply Last reply Reply Quote 1
      • D
        diwakarpant16 @S237783 0 last edited by

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

        M 1 Reply Last reply Reply Quote 0
        • M
          Meenavenkit @diwakarpant16 last edited by

          @admin Please check i am also having same issue.

          after login the token seems to be invalid

          A 1 Reply Last reply Reply Quote 0
          • A
            algo_trading_50 @Meenavenkit last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post