Is "NSE:NIFTY50-INDEX" the correct symbol to get historical data?

Is “NSE:NIFTY50-INDEX” the correct symbol to get historical data. I get error 300 “Please provide a valid symbol” on this when I call the URL https://api.fyers.in:443/data-rest/v2/history/?symbol=NSE%3aNIFTY50-INDEX&resolution=15&date_format=0&range_from=1707719975&range_to=1707892775&cont_flag=1. Can anyone help me with what is wrong with the symbol?

Hey @109959684849381922947

The symbol format you have used is correct , could you please let us know if you’re using the API V2 or V3