Same problem here, with a brand new Nikon 3300.
I followed Anil's advice: I blew air into the SD card slot and the problem was solved.
However, to be honest, I'm very disappointed about this. It's either a product design or a manufacturing defect.
In any case, it's simply unacceptable...