Group Details Private

SmartAPI Group

  • A

    Hi @rvrao1415

    Please share the request json here

    read more
  • A

    Hi @s237783

    Please do check are you using jwttoken generated via loginbypassword api

    read more
  • S

    Subject: Issue with getLtpData API - Error Code: AG8001 (Invalid Token)
    Description: Hi Team,

    I am facing an issue while calling the getLtpData API. Despite having a valid session, the API returns an "Invalid Token" error. Below are the technical details of the error:

    API Endpoint: https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/getLtpData

    Error Code: AG8001

    Error Message: Invalid Token

    Client ID: [S237783]

    Request Payload: {'exchange': 'NSE', 'tradingsymbol': 'NIFTY 50', 'symboltoken': '99926000'}

    Timestamp of Error: 2026-01-12 13:07:14

    [E 260112 13:08:47 smartConnect:246] Error occurred while making a POST request to https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/getLtpData. Error: Invalid Token. URL: https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/getLtpData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'b8:97:5a:70:4a:fe', 'Accept': 'application/json', 'X-PrivateKey': '9prSs4Y1', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'tradingsymbol': 'NIFTY 50', 'symboltoken': '99926000'}, Response: {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}

    requesting to resolve thiss issue plz

    read more
  • A

    Hi @mach

    Request seems fine. It was an TOTP issue just got copy 6 digit code from authenticator app and paste it try the request in postman once and update.

    read more