Error fetching prices

NFO:httpx:HTTP Request: GET https://api.upstox.com/v2/market-quote/ltp?instrument_key=NSE_EQ7%CINE351F01018 “HTTP/1.1 500 Internal Server Error”
ERROR:root:Error fetching price: 500 - {“status”:“error”,“errors”:[{“errorCode”:“UDAPI100500”,“message”:“Something went wrong… please contact us”,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI100500”,“property_path”:null,“invalid_value”:null}]}

Hi @Manoj_Gilra

You are using an invalid instrument key, please use NSE_EQ%7CINE351F01018 instead of NSE_EQ7%CINE351F01018

Here is the curl request for your reference

curl --location 'http://api.upstox.com/v2/market-quote/ltp?instrument_key=NSE_EQ%7CINE351F01018' \
--header 'Authorization: {your_access_token}'

Thank you.

1 Like