Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. agssl
    3. Posts
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by agssl

    • Invalid totp error found

      Invalid totp error found. I generated totp using https://smartapi.angelbroking.com/enable-totp. My Bearer Token is not generated. Please guide me. If any issue please call me at 9354519969 or provide me with your technical support team number.
      We have been facing this issue for one week.
      Postman screenshot also attached.

      API: https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword

      Request Header :

      [{"key":"X-PrivateKey","value":"4AEAUd0D","description":"","type":"text","enabled":true}]
      [{"key":"X-Content-Type-Options","value":"nosniff","description":"","type":"text","enabled":true}]
      [{"key":"X-UserType","value":"USER","description":"","type":"text","enabled":true}]
      [{"key":"X-SourceID","value":"WEB","description":"","type":"text","enabled":true}]
      [{"key":"X-ClientLocalIP","value":"192.168.1.37","description":"","type":"text","enabled":true}]
      [{"key":"X-ClientPublicIP","value":"103.184.71.4","description":"","type":"text","enabled":true}]
      [{"key":"X-MACAddress","value":"fe80::216e:6507:4b90:3719","description":"","type":"text","enabled":true}]
      Request Body :

      {"clientcode":"S62673497","password":"Agssl@123","totp":"MSG53C4QMBAMHVXMAO72KJQGSY","state":"State"}

      Response :
      {
      "status": false,
      "message": "Invalid totp",
      "errorcode": "AB1050",
      "data": null
      }

      Screenshot 2024-09-23 191205.png Screenshot 2024-09-23 191321.png

      posted in C#/.Net SDK
      A
      agssl