History api not working

Hi Team,
I am using below API url to get history of data, it is worked fine, till yesterday. from today it is return bad request 400 error. What is the issue?

https://api.upstox.com/v3/historical-candle/NSE_INDEX|Nifty%2050/minutes/1/2025-07-16/2025-07-11

Yes for me also not working… upstox team. why its suddenly not working. return bad request 400 error

https://api.upstox.com/v3/historical-candle/NSE_INDEX|Nifty%2050/minutes/1/2025-07-16/2025-07-11

I have the same issue - any update received?

That is perfectly understandable, would have been much better if the error response was more meaningful rather than using “400- Incorrect Symbol”

@Ketan It seems python API library which upstox has developed does not support from_date, only to_date when getting historical data. This means I can’t fetch only 4 days of data. What do you recommend in this case ?

Hi @Ketan

please look my request

How we will get the last 2 working day data?

If we in-between days are holidays then how we get the 2 working data. I hope you understand. Or allow us to get last number of candles.