Navigation

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

    Invalid totp

    Python SDK
    0
    2
    8
    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.
    • A
      amitsgreat last edited by

      MY TOPT IS GENEREATED OTP SUCCESSFULLY EVEN THEN IT SAYS INVALID TOTP "[I 241005 17:32:54 smartConnect:121] in pool
      Generated TOTP: 080949
      [E 241005 17:32:54 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelone.in/rest/auth/angelbroking/user/v1/loginByPassword. Error: Invalid totp. URL: https://apiconnect.angelone.in/rest/auth/angelbroking/user/v1/loginByPassword, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': '0a:e0:af:a6:00:2a', 'Accept': 'application/json', 'X-PrivateKey': 'vDxscNMc', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'clientcode': 'amitsrivastavaaug1985@gmail.com', 'password': 'e8492d7a-9461-4f9f-a83d-da8a4260e4fc', 'totp': '080949'}, Response: {'status': False, 'message': 'Invalid totp', 'errorcode': 'AB1050', 'data': None}
      Login failed: Invalid totp
      Stock search failed: SmartConnect.searchScrip() got an unexpected keyword argument 'symbolName'
      No search results found"

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

        @amitsgreat TOTP expires every few seconds, see to it that your TOTP is not expired. Also, use your mPIN instead of the password while logging in.

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