Port, cable, power supply (if external), drive. I’d check things in that order. Swapping ports and cable is usually very simple. I’d have zero reservations throwing out an unreliable drive, if you arrive at the conclusion that it’s neither a port, cable, or power issue. Especially if it’s pre-packaged (case and memory sold together as one unit).