Mid 2012 Macbook Air 13" 128GB won't recognize SSD

Hi there,

I have a mid-2012 Macbook Air 13" that froze up on my while I was using it a couple months ago. When I turned it back on, it would show up a grey folder with a ? inside it. After a quick Google search, I realized it was an error with the hard drive. I since purchased a hard drive for my A1466 model and replaced it. Yet I've now still been unable to get the Macbook to read it. I open Disk Utility and it doesn't recognize it.

When I did the hard drive test, it gave me the following error:

error 4bat/6/40000005: 0x898f3790

I've been unable to find anything online with this error code aside from one link that says it's a battery error. I can't see this being the issue as the battery is fine, it's the hard drive that isn't recognized. I did replace the battery several months back with one off Amazon that had a ton of positive reviews. I unplugged the battery cable and tried to start it up using just the power cord and received the same error.

Any ideas as to what this could be?
If your replacement battery works OK (charges, and gives you a reasonable battery life between charges), then the error probably just means that your replacement battery is just not compatible with the diagnostic test, and likely does not affect the use of your battery, just that it won't test correctly. The error is just a coincidence, and probably is not related to your drive connection in any way.

Where did you get the replacement SSD? Are you sure that you got either an Apple-stickered drive (an original Apple part), or the site where you bought it stated that it was compatible with your 2012 MBAir? SSD for 2011 MBAir will not work in a 2012, and an SSD for a 2013 or newer also will not work in a 2012 MBAir.
OWC offers this - https://www.amazon.com/OWC-240GB-Solid-State-Upgrade-MacBook/dp/B00AQ5SG2I
Or from Transcend- https://www.amazon.com/Transcend-JetDrive-SATAIII-Upgrade-TS240GJDM520/dp/B00JKCHNOU