Bad batch? I doubt it, it has always worked before on my 3DS and works on my DSLite. It is a GBATemp special edition one, so there was only 1 batch.
I flashed it with v1.19 then with v1.25 and it worked on my 3DS then when I took it back out and put it in again it came up with the same error.