Error code : UDAPI100500 while requesting historical data

is there anyone tell me that how to resolve the error of UDAPI100500 while requesting the historical data. i don’t know if reqesting structure is not right or this error is from upstox end. please anyone confirm me about this. i will be very greatful.

@Himanshu_GTS

Could you try encoding the instrument_key as a URI component and inform us if it resolves the issue?

Thank you!

1 Like

@Himanshu_GTS, as an example, you can use the following URL to access historical candle data for RELIANCE from Upstox:

https://api-v2.upstox.com/historical-candle/NSE_EQ%7CINE002A01018/day/2023-11-21

Try this in your Postman.

1 Like

It’s working now, thanks for assistance. It the issue with instrument key.

Hi Pradeep,

Getting same error. Could you please help me with this?

@Sai_Pawar it seems from the screenshot that your instrument key has not been correctly URL-encoded.

Please refer to the following example for guidance:

If the issue persists, please provide us with the curl request for further assistance.

Ohh Great. Thanks!

But its not returning data for todays date.

For today’s data, you should refer to the intraday API.

1 Like