Are the bad recording at the end of a trip or between the other recordings?
I know that in the past (firmware V0.5x) the K2 had issues when using 256GB cards. Regardless of the manufacturer. But since V0.64 there should be no issues when using such cards. So please check what firmware is installed on your K2. If it is something like V0.57, you should update to the latest one.