Part of the resulting issue relates to incorrect use of 'internet recovery' to erase
BootCamp partition. Usually you'd use BootCamp to address partitions it made.
Remove the partition. Use Boot Camp Assistant to safely remove Windows and
the Windows partition from your Mac, restoring your startup drive to a single ...
https://support.apple.com/en-us/HT204009
How to install Windows on your Mac with Boot Camp. Boot Camp helps you
install Microsoft Windows on your Mac. ... Format your Windows partition.
https://support.apple.com/en-us/HT201468
When making the move to a Mac, you created a Boot Camp partition in order to run
Windows. You're so over Windows now ... you'd like to get rid of it. Here's how.
https://www.macworld.com/article/1156195/mac-apps/delete-boot-camp...
Also you could help us, help you, with exacting reference to the product model
with series & build year; hardware configuration you've attempted to work with.
{..Identify your product ~ but do not post serial numbers or personal information..}
Details for handling SSD installation and some aspects of troubleshooting are
in the OWC blog pages; where the general info could work with any brand.
[Theirs are better where supported due to their implementation (lack of) trim.
But this aspect applies when dealing with brands they discuss in sales blog.]
In any event...
Good luck & happy trails! 🙂