Recording AFTER event

Hello all
I am having an issue where my camera detects motion, but the actual recording captured is about 1 minute AFTER the event. The actual recording doesn’t show the movement, but when I go to playback on the camera, for the minute before, I catch that actual motion. Weird, anyone have this happen before, and if so, is there a solution?