Navigation

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

    Posts made by mayurgajjar999

    • Api login error

      Hello Everyone ,

      I am facing a persistent issue with the SmartAPI “LoginByPassword” API.
      I have followed all official documentation and community guidelines, but I always get "Invalid Token" as the response.

      Details:

      • Client ID: XXXXXXXXXX
      • API Key: XXXXXXXX (MarketFeedsAPI)
      • Endpoint Used: https://apiconnect.angelone.in/rest/auth/angelbroking/user/v1/loginByPassword
      • Request Method: POST
      • Headers:
        • Content-Type: application/json
        • Accept: application/json
        • X-Api-Key: XXXXXXXX
      • Request Body:
      {
        "clientcode": "XXXXXXXXXX",
        "password": "XXXX",      // (I am using my actual Angel One login PIN)
        "totp": "XXXXXX"                 // (Generated from iphone Authenticator, fresh code every time)
      }
      
      Still, I am always getting this response:
      {
        "success": false,
        "message": "Invalid Token",
        "errorCode": "AG8001",
        "data": ""
      }
      posted in General Discussion
      M
      mayurgajjar999
    • RE: Discrepancy Between Real-Time and Historical Market Data: Causes and Impact on Algo Trading Decisions

      please migrate my account client id - R100724

      posted in General Discussion
      M
      mayurgajjar999