Apple has not altered things within this series.
So what worked in the first systems of this series (2014) still works in the current models of this series presently.
Are you sure you didn't damage or forget something in the process or have a known good (correct) SSD?
I have quite a few of these in our office and I've moved the Apple SSD drives around without any issues.