Getting error UDAPI100060

url = “https://api.upstox.com/v2/historical-candle/

payload={
‘instrument_key’:‘NSE_EQ|INE868B01028’,
‘interval’:‘day’,
‘to_date’:‘2024-08-13’,
‘from_date’:‘2024-08-15’
}
headers = {
‘Accept’: ‘application/json’
}

response = requests.request(“GET”, url, headers=headers, data=payload)

print(response.text)

with this code getting following error

{“status”:“error”,“errors”:[{“errorCode”:“UDAPI100060”,“message”:“Resource not Found.”,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI100060”,“property_path”:null,“invalid_value”:null}]}


can anyone please help

Kindly refer to the Example Codes | Historical Candle page for guidance on accessing data via the historical API. Additionally, please consult the Historical Candle Documentation for further details.

Thank you.