Navigation

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

    Totp error

    General Discussion
    0
    4
    10
    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.
    • D
      Deepak8052 last edited by

      Hi All, I'm getting the below error:
      [E 240628 02:24:35 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword. Error: Invalid totp.

      The same code is running on one of my laptops, but it's not working on the other.

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

        Hello @Deepak8052

        Please provide the below details too
        Headers
        Request Body

        Regards,
        SmartAPI Team

        D 2 Replies Last reply Reply Quote 0
        • D
          Deepak8052 @Moderator_3 last edited by

          @Moderator_3
          Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.157.99', 'X-MACAddress': 'f4:b7:e2:59:92:8c', 'Accept': 'application/json', 'X-PrivateKey': '72Kc4WgZ', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'clientcode': 'D248489', 'password': '0698', 'totp': '136646'}, Response: {'status': False, 'message': 'Invalid totp', 'errorcode': 'AB1050', 'data': None}
          [E 240628 18:01:14 Automating AngelBroking:22] {'status': False, 'message': 'Invalid totp', 'errorcode': 'AB1050', 'data': None}

          1 Reply Last reply Reply Quote 0
          • D
            Deepak8052 @Moderator_3 last edited by

            @Moderator_3
            Below is the error:
            [I 240628 18:01:13 smartConnect:121] in pool
            [E 240628 18:01:14 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword. Error: Invalid totp. URL: https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.157.96', 'X-MACAddress': 'f4:b7:e2:59:92:8c', 'Accept': 'application/json', 'X-PrivateKey': '72Kc4WgZ', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'clientcode': 'D248489', 'password': '0992', 'totp': '136646'}, Response: {'status': False, 'message': 'Invalid totp', 'errorcode': 'AB1050', 'data': None}
            [E 240628 18:01:14 Automating AngelBroking:22] {'status': False, 'message': 'Invalid totp', 'errorcode': 'AB1050', 'data': None}

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