'errorcode': 'AB1004',
-
I am getting this error frequently and it is difficult to Handel since it is not an time out error .
kindly rectify the issue .
we are getting this while getcandeldata
-
Hello @excelman11
As per your request you have the fromdate and todate twice that is why the issue is happening Son kindly format your request accordingly
Regards,
SmartAPI Team -
-
-
@Mnagesh I am also receiving the same error.
[E 240511 11:41:17 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Invalid date or time format. 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': '30:03:c8:68:51:0a', 'Accept': 'application/json', 'X-PrivateKey': 'B4aGvizX', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '1333', 'interval': 'ONE_MINUTE', 'fromdate': '2024-05-10 08:00 08:00', 'todate': '2024-05-10 17:00 17:00'}, Response: {'message': 'Invalid date or time format', 'errorcode': 'AB13000', 'status': False, 'data': None}
Despite using try and except in python, I am still unable to deal with this error.