Getting "errorCode":"UDAPI1087" while fetching data

Api Url:-
https://api.upstox.com/v2/market-quote/quotes?instrument_key=NFO|NIFTY07AUG2524650CE,NFO|NIFTY07AUG2524650PE,NFO|NIFTY07AUG2524700CE,NFO|NIFTY07AUG2524700PE,NFO|NIFTY07AUG2524750CE,NFO|NIFTY07AUG2524750PE,NFO|NIFTY07AUG2524800CE,NFO|NIFTY07AUG2524800PE,NFO|NIFTY07AUG2524850CE,NFO|NIFTY07AUG2524850PE

Failed to get quotes: {“status”:“error”,“errors”:[{“errorCode”:“UDAPI1087”,“message”:“One of either symbol or instrument_key is invalid.”,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI1087”,“property_path”:null,“invalid_value”:null}]}

Hi @DRohan007
As the error message suggests, one or more instrument keys you are appending in the query parameters are incorrect.

Please refer to the correct instrument keys from the JSON file provided here:

Thanks!