Problem with 3D printer not accepting new print gcodes
As you found out, sometimes the SD cards need reformating. 

And if they came with the printer they could be fake (Fake capacity), when you try to upload more than its real capacity they will just corrupt.

My Anet A8 came with an 8GB SD card and it turned out to be 128 mb. With RMPrepUSB you can do a capacity test and format it to the real capacity.