sd_ble_gatts_hvx returns error 0x3400


I have been using this method for a while now and everything seemed to work. But for one of my device the method returns the error 0x3400. I wanted to know where the issue could come from. As it is working on other device, is it possible that it is a hardware error and how is it possible to recover?

I am using a legacy sdk (sdk 11).

Thank you for your answer.