Fyers API V3 unsubscribe not working

Fyers api v3 unsubscribe is not working as expected i am still receving updates 

#function call, calling my unsubscribe method here in python 
self.unsubscribe_symbol(sym, 'symbolData')
#function defenision 
def unsubscribe_symbol(self, sym, data_type):
    if self.subscription_active:
        try:
            self.fyers_websocket.unsubscribe(symbols=[sym], data_type=data_type)
            self.subscription_active = False
            return True
        except Exception as e:
            print(f"Error while unsubscribing: {e}")
2 replies