The following URL
https://api.upstox.com/v2/market-quote/quotes?instrument_key=NSE_INDEX%7CNifty_BANK
giving this response:
“errorCode”: “UDAPI100500”,
“message”: “Something went wrong… please contact us”,
However it works fine for NIFTY_50 i.e.
https://api.upstox.com/v2/market-quote/quotes?instrument_key=NSE_INDEX%7CNifty%2050