We;re going to need a little more information. How is the HDD connected to your motherboard/platform? Speaking of motherboard, if you're not using a dock or a laptop, what is the make and model of your motherboard? BIOS version for said motherboard? Does the HDD show up in BIOS?
Also, if it helps, it wasn’t recogniseable on a MacBook Air early 2015, neither on Windows 10, or macOS. I have also tried it on a PS5, with no success. It seems like the drive is not a problem, since i have two same drive which are showing the same symptoms.