The only thing I see different in the Waypoints just happens to be at #17.
For some reason (and I am not positive it will cause your problem) you have ‘Gimbal Pitch’ set to ‘Disabled’
All other Waypoints have it set to Focus POI.
What type of drone are you using ?
I suspect your camera is set to AFC (Autofucus Continuous).
When the instruction to take a photo happens to take place when the camera is performing a refocus, it will be ignored.
Set your camera to manual focus (MF) or auto focus (AF).