Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
That error may mean the hard disk system is bad, or it might mean the flat cable to the hard drive has a bad wire (or pin, or two) in it.
Swapping out the hard drive cable is a thing to try for this. While the power is Off, of course.
What type is the HDD ?
The cable in question that might need replacing/swapping-out, is the cable to the HDD. The flat cable that carries the data. (And in some systems, the power too.)