Constantly getting no historical data and invalid ohlc for random stocks

I am using a script to fetch data of derivative stocks using v3 api. today since morning my script is unable to fetch historical data and OHLC data for same random stocks.

for example at one instance i get it like this

07-10 14:23:17 [WARNING] No historical OHLC data for BOSCHLTD on 2025-07-09
07-10 14:23:18 [WARNING] No historical OHLC data for HAVELLS on 2025-07-09
07-10 14:23:18 [WARNING] No historical OHLC data for HEROMOTOCO on 2025-07-09
07-10 14:23:18 [WARNING] Invalid OHLC for BOSCHLTD
07-10 14:23:18 [WARNING] Invalid OHLC for HAVELLS
07-10 14:23:18 [WARNING] Invalid OHLC for HEROMOTOCO

other instance like this

07-10 14:28:16 [WARNING] No historical OHLC data for CYIENT on 2025-07-09
07-10 14:28:16 [WARNING] No historical OHLC data for ADANIENT on 2025-07-09
07-10 14:28:16 [WARNING] No historical OHLC data for BOSCHLTD on 2025-07-09
07-10 14:28:16 [WARNING] No historical OHLC data for ADANIPORTS on 2025-07-09
07-10 14:28:17 [WARNING] No historical OHLC data for MARUTI on 2025-07-09
07-10 14:28:17 [WARNING] No historical OHLC data for MCX on 2025-07-09
07-10 14:28:17 [WARNING] No historical OHLC data for OBEROIRLTY on 2025-07-09
07-10 14:28:17 [WARNING] No historical OHLC data for NESTLEIND on 2025-07-09
07-10 14:28:17 [WARNING] No historical OHLC data for PERSISTENT on 2025-07-09
07-10 14:28:17 [WARNING] Invalid OHLC for ADANIENT
07-10 14:28:17 [WARNING] Invalid OHLC for ADANIPORTS
07-10 14:28:17 [WARNING] Invalid OHLC for BOSCHLTD
07-10 14:28:17 [WARNING] Invalid OHLC for CYIENT
07-10 14:28:17 [WARNING] Invalid OHLC for MARUTI
07-10 14:28:17 [WARNING] Invalid OHLC for MCX
07-10 14:28:17 [WARNING] Invalid OHLC for NESTLEIND
07-10 14:28:17 [WARNING] Invalid OHLC for OBEROIRLTY
07-10 14:28:17 [WARNING] Invalid OHLC for PERSISTENT

please help fixing this

historical and ohlc urls im using as below-

https://api.upstox.com/v3/historical-candle/{instrument_key}/days/1/{to_date}/{from_date}

https://api.upstox.com/v3/market-quote/ohlc?instrument_key={instrument_key}

I am facing the same issue at equity level for 15 mins I can at least least historical data when I restart the run but live data is not coming for any ! for 5 min timeframe no historical intraday or current candle is being fetched. Close some ongoing positions because of this

Hi @gaurav @Neelabha_Samadder

I tested the following URLs for BOSCHLTD and for other shared symbol, and they appear to be working as expected:

https://api.upstox.com/v3/historical-candle/NSE_EQ|INE323A01026/days/1/2025-07-09  
https://api.upstox.com/v3/historical-candle/NSE_EQ|INE323A01026/minutes/15/2025-07-09

Could you please share the exact request URL you’re using where data is not being returned?

Also, please note that for today’s OHLC data, you should use the Intraday Candle V3 API instead of the historical one.

Thanks