The problem may be caused by a malfunction of the yellow "Data" cable, which causes data loss during transmission. One possible solution is to clean the connectors using a spray specifically designed for cleaning contacts.
If the connectors are clean and in good condition, but the "Data" cable shows signs of damage or wear, it will be necessary to replace it.