Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. S237783
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 4
    • Best 0
    • Groups 0

    S237783

    @S237783

    0
    Reputation
    3
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    S237783 Unfollow Follow

    Latest posts made by S237783

    • Error Code: AB1004, Error Message: "Something Went Wrong, Please Try After Sometime"

      Dear Angel One Support Team,

      I am using the Angel One SmartAPI (Python SDK) for fetching historical candle data. However, I am consistently receiving an error for my requests.

      Error Code: AB1004

      Error Message: [E 260121 09:38:53 smartConnect:246] Error occurred while making a POST request to https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData, 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': 'gZXHByr7', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '99926000', 'interval': 'ONE_MINUTE', 'fromdate': '2026-01-21 09:15', 'todate': '2026-01-21 09:35'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}

      Client ID: [S237783]

      The session is active, and other APIs are working fine, but the getCandleData endpoint keeps failing with the same error code. I have attached a screenshot of the error log for your reference.

      requesting to plz resolve this issue, or tell me how to resolve this issue plz..
      [link text](![link url](Screenshot (196).png image url))
      Looking forward to a quick resolution.

      Best regards,
      Shankar H

      posted in Python SDK
      S
      S237783
    • Technical Issue: SmartAPI Historical Data Error - Code AB1004

      Dear Angel One Support Team,

      I am using the Angel One SmartAPI (Python SDK) for fetching historical candle data. However, I am consistently receiving an error for my requests.

      Issue Details:

      Error Code: AB1004

      Error Message: "Something Went Wrong, Please Try After Sometime"

      API Endpoint: https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData

      Client ID: [S237783]

      The session is active, and other APIs are working fine, but the getCandleData endpoint keeps failing with the same error code. I have attached a screenshot of the error log for your reference.

      Could you please check if historical data access is enabled for my account or if there is any technical issue from the server side?

      Looking forward to a quick resolution.

      Best regards,
      Shankar H

      posted in Python SDK
      S
      S237783
    • "Frequent AB1004 Error and Empty Response (b'') in getCandleData"

      Client Code: S237783Screenshot (188).png .

      API Type: Python SDK (SmartConnect).

      Endpoint: getCandleData.

      Issue: "Intermittent AB1004 errors even after multiple retries."```

      posted in Python SDK
      S
      S237783
    • smartConnect:246

      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

      posted in Python SDK
      S
      S237783