NSE:NIFTYBANK-INDEX => Please provide a valid symbol

User id => DS04195

Hi Here are my input V2 => https://api.fyers.in/data-rest/v2/history/?symbol=NSE:NIFTYBANK-INDEX&resolution=15&date_format=1&range_from=2023-12-13&range_to=2024-01-12&cont_flag=1

response = {"s":"error","code":-300,"message":"Please provide a valid symbol"}

============

same error coming from websocket also:

Code :

symbol = ["NSE:NIFTY50-INDEX", "NSE:NIFTYBANK-INDEX"]
fs = ws.FyersSocket(access_token=access_token, run_background=False, log_path="")
fs.websocket_data = custom_message
fs.subscribe(symbol=symbol, data_type=data_type)
fs.keep_running()

response: {'s': 'error', 'code': -300, 'message': 'Please provide a valid symbol'}

Both were working till yesterday

Please help @Vinay Maurya

2 replies