Navigation

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

    Getting Error In Login Invalid TOTP

    General Discussion
    0
    6
    58
    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.
    • P
      PareshBhatiya last edited by

      Dear Team

      Client Code: S185845

      Getting error in Login API "Invalid TOTP"

      M A 2 Replies Last reply Reply Quote 0
      • M
        Meenavenkit @PareshBhatiya last edited by

        @admin @administrators Again issue with TOTP. Error "Invalid TOTP" was working properly 2 hrs back.

        What is happening with you folks. why cant u people manage this better without issues. Spent entire sunday to manage the change you did now it is not working the other way

        Please resolve this

        A P 2 Replies Last reply Reply Quote 1
        • A
          ajsingh @Meenavenkit last edited by

          @Meenavenkit same for me, it was working fine and suddenly I am getting this error now

          {'status': False,
          'message': 'Invalid totp',
          'errorcode': 'AB1050',
          'data': None}

          1 Reply Last reply Reply Quote 0
          • A
            ajsingh @PareshBhatiya last edited by

            @PareshBhatiya @admin

            this error has kept me busy for hours today. any idea why this is happening?

            {'status': False,
            'message': 'Invalid totp',
            'errorcode': 'AB1050',
            'data': None}

            1 Reply Last reply Reply Quote 0
            • P
              PareshBhatiya @Meenavenkit last edited by

              @Meenavenkit @ajsingh
              You should enable TOTP in your trading account and pass that TOTP in login API

              req.AddJsonBody(new { clientcode = lreq.clientcode, password = lreq.password, totp = lreq.totp });

              i am using below API for login
              LoginURL = BaseURL + "auth/angelbroking/user/v1/loginByPassword";

              A 1 Reply Last reply Reply Quote 0
              • A
                ajsingh @PareshBhatiya last edited by

                @PareshBhatiya it worked. thanks.

                now having a different issue, this one.

                ReadTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)

                i am trying to fetch the historical data. access rate is 3/sec then one second sleep. still i am getting this error.

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