Navigation

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

    Posts made by puranjan

    • Error AB1004 for historical data on websocket

      Getting the AB1004 error when trying to retrieve historical data using websocket. Interestingly while executing in a loop having around 40 equity scripts, the error is coming in between for some of the scripts and working fine for others.
      Attaching below part of the output log.

      [I 240930 09:20:04 smartConnect:121] in pool
      [E 240930 09:20:16 smartConnect:243] 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.xxx.xxx.98', 'X-MACAddress': ‘x7:fx:xb:7x:x5:x0’, 'Accept': 'application/json', 'X-PrivateKey': ‘xxxxxxxxx’, 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'FIVE_MINUTE', 'fromdate': '2024-09-26 09:20', 'todate': '2024-09-30 09:19'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      [E 240930 09:20:50 smartConnect:243] 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.xxx.xxx.98', 'X-MACAddress': ‘x7:fx:xb:7x:x5:x0’, 'Accept': 'application/json', 'X-PrivateKey': ‘xxxxxxxxx’, 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'FIVE_MINUTE', 'fromdate': '2024-09-26 09:20', 'todate': '2024-09-30 09:19'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      [E 240930 09:21:38 smartConnect:243] 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.xxx.xxx.98', 'X-MACAddress': ‘x7:fx:xb:7x:x5:x0’, 'Accept': 'application/json', 'X-PrivateKey': ‘xxxxxxxxx’, 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'FIVE_MINUTE', 'fromdate': '2024-09-26 09:21', 'todate': '2024-09-30 09:19'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      [E 240930 09:21:42 smartConnect:243] 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.xxx.xxx.98', 'X-MACAddress': ‘x7:fx:xb:7x:x5:x0’, 'Accept': 'application/json', 'X-PrivateKey': ‘xxxxxxxxx’, 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'FIVE_MINUTE', 'fromdate': '2024-09-26 09:21', 'todate': '2024-09-30 09:19'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      [E 240930 09:22:11 smartConnect:243] 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.xxx.xxx.98', 'X-MACAddress': ‘x7:fx:xb:7x:x5:x0’, 'Accept': 'application/json', 'X-PrivateKey': ‘xxxxxxxxx’, 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'FIVE_MINUTE', 'fromdate': '2024-09-26 09:22', 'todate': '2024-09-30 09:19'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      [E 240930 09:25:36 smartConnect:243] 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.xxx.xxx.98', 'X-MACAddress': ‘x7:fx:xb:7x:x5:x0’, 'Accept': 'application/json', 'X-PrivateKey': ‘xxxxxxxxx’, 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'FIVE_MINUTE', 'fromdate': '2024-09-26 09:25', 'todate': '2024-09-30 09:19'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      [E 240930 09:26:09 smartConnect:243] 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.xxx.xxx.98', 'X-MACAddress': ‘x7:fx:xb:7x:x5:x0’, 'Accept': 'application/json', 'X-PrivateKey': ‘xxxxxxxxx’, 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'FIVE_MINUTE', 'fromdate': '2024-09-26 09:26', 'todate': '2024-09-30 09:19'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      [E 240930 09:26:58 smartConnect:243] 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.xxx.xxx.98', 'X-MACAddress': ‘x7:fx:xb:7x:x5:x0’, 'Accept': 'application/json', 'X-PrivateKey': ‘xxxxxxxxx’, 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'FIVE_MINUTE', 'fromdate': '2024-09-26 09:26', 'todate': '2024-09-30 09:19'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      [E 240930 09:27:01 smartConnect:243] 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.xxx.xxx.98', 'X-MACAddress': ‘x7:fx:xb:7x:x5:x0’, 'Accept': 'application/json', 'X-PrivateKey': ‘xxxxxxxxx’, 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'FIVE_MINUTE', 'fromdate': '2024-09-26 09:27', 'todate': '2024-09-30 09:19'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}

      posted in Bugs
      P
      puranjan
    • RE: Historical API Not working FEB 14 2023

      Same problem still exists.

      posted in Bugs
      P
      puranjan
    • There should be option of getting the ROBO order disabled list of symbols

      Many times some orders get rejected at the exchange due to those symbols blocked or disabled for ROBO orders. If there could be option available of getting the ROBO order disabled list of symbols similar to the instrument lists through a link, then it would reduce the number of rejected ROBO orders.

      posted in General Discussion
      P
      puranjan