For example,
https://api.upstox.com//v3/historical-candle/intraday/NSE_FO|54912/minutes/3
very often returns an error of the following type:
Error 400 Ambiguous URI empty segment
However sometimes it does work, which means the path is correct. And it always works for other types of instruments such as NIFTY_50.