Historical Candle Data API Error ([INSERT ERROR CODE, e.g., AG8001 / AB1004 / 403]) on getCandleData
-
Hello @admin / SmartAPI Support Team,
I am facing an error while fetching historical candle data using the /rest/secure/angelbroking/historical/v1/getCandleData endpoint for NSE equity stocks via the Python SDK.
Setup & Request Details:
- Client ID: AACN754416
- App Name: mytradingbot
- Registered Static IPv4: 166.0.244.209
- Endpoint: POST https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData
- Sample Payload: {"exchange": "NSE", "symboltoken": "1594", "interval": "FIVE_MINUTE", "fromdate": "2026-11-23 09:15", "todate": "2026-11-23 15:30"}
- Error Response Received: [PASTE EXACT ERROR MESSAGE / ERROR CODE HERE]
Login (generateSession) and profile calls work properly, but getCandleData fails with the error above. Could you please check my Client ID and API permissions?
Thank you.
REVA S