Match threshold and error record