Getting AB1004 error while getting historic data for nifty50
-
Hi Team,
I am unable to get the historical data for Nifty 50 due to the following error: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}.
Someone please kindly look into it.
Thanks in advance,
Kalyan C -
I am also observing same error.
-
facing the same issue
-
Hello @Kalyan-C
Could you please share the request packet
Regards,
SmartAPI Team -
@Moderator_3 Since, I am also facing the same issue, can you tell me what exactly the request packet means?
-
@Moderator_3 The error that I am getting is as mentioned below
"Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/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': 'cc:48:3a:66:10:f5', 'Accept': 'application/json', 'X-PrivateKey': 'si3I9yTu', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'interval': 'ONE_HOUR', 'fromdate': '2023-01-01 09:15', 'todate': '2023-01-02 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}" -
Hello @Satnam
You are missing to send one param called symbol token so kindly frame your request as mentioned below{ "exchange":"NSE", "symboltoken":"99926000", "interval":"ONE_HOUR", "fromdate":"2024-04-01 15:15", "todate":"2024-04-08 15:31" }
Regards,
SmartAPI Team