regards
I got the same error, in my case I solved it by placing the loc_ID in sequence in the trap file, I explained my location id were 1,3,5,11,14,16, etc, what I realized was to change them in order to 1,2,3,4,5, etc in the same way update the loc_id in the capture file