Why I am getting this error?

Why the below error?

Final URL: https://api-v2.upstox.com/historical-candle?instrument_key=NSE_EQ|INE467B01029&interval=day&from_date=2024-05-20&to_date=2024-05-21
Status Code: 404
Response JSON: {‘status’: ‘error’, ‘errors’: [{‘errorCode’: ‘UDAPI100060’, ‘message’: ‘Resource not Found.’, ‘propertyPath’: None, ‘invalidValue’: None, ‘error_code’: ‘UDAPI100060’, ‘property_path’: None, ‘invalid_value’: None}]}

Hi @PANKAJ_1608928
To correctly fetch historical candle data, pass date and interval as path parameters, not query parameters. Check the example code here: Historical Candle Data | Upstox Developer API and the API documentation for specifics: Historical Candle Data | Upstox Developer API.

Thanks