Question M.2 not working all of a sudden?

Aug 8, 2022
15
0
10
Hi, i have a 500GB M.2 PCIE gen3 drive installed in my desktop, the other day for no reason the pc restarted. i was not using the PC at the time and was just idling at the desktop once the boot screen came up it stated an error. Genie Error and the drive didnt show up in the bios either.
i installed the drive into my gaming laptop and the same result but just stated no bootable device. can anyone help me? thanks for any replies. im guessing the drive is fried but i dont see how.