Any idea how to get around this error ? I am trying to use fyers websocket {'s': 'error', 'code': -209, 'message': 'Please provide the validation parameter'}

Any idea how to get around this error ? I am trying to use fyers websocket {‘s’: ‘error’, ‘code’: -209, ‘message’: ‘Please provide the validation parameter’}

Hey Aravind,
pass the Access_token in this format,
Access_token = “app_id:Access_token”

Thanks for the prompt response @vikram_sri , if the symbol value is [“NSE:SBIN-EQ”,“NSE:NIFTY50-INDEX”] I am able to get values, but if the try only for index i.e.,
symbol = [“NSE:NIFTY50-INDEX”] not getting the desired response. Is it the desired behavior ?

It is not the desired behavior. I have reported this to the team. They are looking into this.

I am getting same error {‘s’: ‘error’, ‘code’: -209, ‘message’: ‘Please provide the validation parameter’} used all possible symbols
symbol =[“NSE:SBIN-EQ”,“NSE:NIFTY50-INDEX”]
# data_type = “orderUpdate”

    ws.FyersSocket.websocket_data = custom_message
    
    fyersSocket = ws.FyersSocket( access_token= token , data_type= data_type, symbol = symbol)
    
    fyersSocket.subscribe()