Navigation

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

    LoginByPassword AB1050: Invalid totp

    General Discussion
    2
    5
    19
    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.
    • R
      rahim1021 last edited by

      In LoginByPassword, I am Receiving error AB1050: Invalid totp, I verified the code its correct in my API request. Still i am receiving the error.

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @rahim1021 last edited by

        @rahim1021 A general error done by the users is storing TOTP to be used later. TOTP will change every minute.

        You can test the login API manually via postman, it will help you to write the code.

        R A 2 Replies Last reply Reply Quote 0
        • R
          rahim1021 @admin last edited by

          @admin ce409c56-2af3-438e-ab4a-839ecbb7c05a-image.png
          ac0f3362-fbec-45f1-9e13-abfde3b22f1c-image.png

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

            @rahim1021 TOTP is a 6 digit code. You need to pass the string that you are passing in the API to google authenticator.

            Google Authenticator will give you a 6 digit code, which you can pass in the API.

            R 1 Reply Last reply Reply Quote 0
            • R
              rahim1021 @admin last edited by rahim1021

              @admin Used totp from both google authenticator and custom code, neither worked, still generating error invalid token AG8001.

              Don't we have Postman Collection, that can be used an template for API development?

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