Error wiping device: Failed to probe the device ‘dev/-sdс’ (udisks-error-quark, 0)

On my hard drive, only one sector was damaged.
I “cleaned” it from all the information, because I needed it for other purposes. I decided to format the HDD using the “ATA Enhanced Secure Erase” option in the gnome disk utility.
After that, it began to issue an error: “Error wiping device: Failed to probe the device ‘dev/ - sdс’ (udisks-error-quark, 0)”

UPD: I looked on another device, through the program “Victoria” it says that the security is “ON, High, Locked”