So do you mean because the encoder is dirty that is why the card got stuck? Then may I ask, you take a look at IMG_0094 video, how come the white can encode?
The error message states that “A card was stuck before writing magnetic stripe data.” This mean that before the encoder encode the data, the card was already stucked.