I think I have the same problem as you. Did you need to open (disassemble) the system to fix that?If you test the SD and it's legit, and you're using an old 3DS, the problem might be the card slot.
Mine was doing the same thing, saying the sd card was removed, first when the system was moved too much, then just at random and later pretty much all the time, turns out the metal that holds the card in place was a little bent outwards and wasn't pressing the card against the contacts anymore. Fixed that and it's been working fine for over a year so far.







