Navigation

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

    Unable to generate TOTP

    General Discussion
    0
    8
    36
    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.
    • V
      vishalafre last edited by

      I'm trying to connect to the API for which I need the TOTP. But in the Smart API Dashboard, when I click "Enable TOTP" and enter my login credentials, I get an error message "LoginbyPassword is not allowed. Please switch to Login by MPIN now." but I don't see any login by MPIN option.

      Can you please guide me how can I generate TOTP for my account?

      PS: I'm using PHP API and when I call the GenerateSession() method, I get an response data as follows "{"status":false,"message":"Invalid totp","errorcode":"AB1050","data":null}"

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_3 @vishalafre last edited by Moderator_3

        Hello @vishalafre

        Please use MPIN instead of password.Please don't use php because we are currently not supporting the same

        Regards,
        SmartAPI Team

        S 1 Reply Last reply Reply Quote 0
        • S
          sunil_modi @Moderator_3 last edited by

          @Moderator_3 when i enter mpin pop up saying something went wrong please try after sometime comes.

          M 1 Reply Last reply Reply Quote 0
          • M
            Moderator_3 @sunil_modi last edited by

            Hello @sunil_modi

            Can you please try again the same then let us know if the issue is still persist

            Regards,
            SmartAPI Team

            S 1 Reply Last reply Reply Quote 0
            • S
              sunil_modi @Moderator_3 last edited by

              @Moderator_3
              1eeb7e78-31b3-47c8-ac5d-34951d00f96b-image.png

              M 1 Reply Last reply Reply Quote 0
              • M
                Moderator_3 @sunil_modi last edited by

                Hello @sunil_modi

                Please let us know if the issue is still happening

                Regards,
                SmartAPI Team

                S A 2 Replies Last reply Reply Quote 0
                • S
                  sunil_modi @Moderator_3 last edited by

                  @Moderator_3 Actually earlier enable TOTP tab is not working that's why i was not able to generate totp and getting totp.
                  now everything is fine.

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

                    @Moderator_3 The error message shows "LoginbyPassword is not allowed. Please switch to Login by MPIN now." when one uses their registered email address and password to login. The second error message, "Something went wrong, please try after sometime" shows when one uses their registered email address and MPIN, instead of Client ID and MPIN. Maybe, you can change the error message, like "Please enter your Client ID instead of the Email ID" for making it easier to understand.

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