Take a look at [link|https://logi.wiki/index.php/Apple_SSD_connectors_and_adapters_list|Apple SSD connectors and adapters list] & [link|https://beetstech.com/blog/apple-proprietary-ssd-ultimate-guide-to-specs-and-upgrades|The Ultimate Guide to Apple’s Proprietary SSDs] for some insight into the differences in comparability etc.
I highly recommend a [link|https://www.amazon.com/Sintech-Adapter-Upgrade-2013-2016-2013-2015/dp/B07FYY3H5F?th=1|Sintech M.2 NGFF SSD Adaptor] and ideally a [link|https://www.samsung.com/us/computing/memory-storage/solid-state-drives/ssd-970-evo-nvme-m2-500gb-mz-v7e500bw/|Samsung 970 EVO Plus M2 SSD] with firmware rev. 2B2QEXM7 or 4B2QEXM7 as I have been using this setup for over a year and have had zero issues.