Chosen Solution

I used a kit from ifixit to install a Samsung 860 EVO SSD as a second drive on my late 2012 mac mini. When i try to erase the disk to format it, it complains “wiping volume data to prevent future accidental probing failed”. The partition button is greyed out and won’t let me attempt it. It says that “uninitialized disks can’t be partitioned”. All the solutions I find online have to do with erasing or partitioning the disk but those options fail for me. What can I do now?

Lets see if you can do it externally using this StarTech 2.5" SATA to USB adapter cable. If that works you may have damaged the cable or it could be defective.