The present invention is a device error (Sun failure of the device from being overexposed due to external light ( Sun Error)) test strips on the device or devices do during the operation or not attached correctly to the test strip has been detached from recognizing the error (strips remove errors) of the device due to rapid and determined clearly distinguish the type of the error will be related to the biometric data acquisition unit, the error detection method of the apparatus and a recording medium storing a program of the way. the present invention as it is in the form for realizing the test strip is inserted, the living body of a biological sample in vivo data measuring device for measuring the data, the sensing unit detects the light reflected from the corresponding area on the test strip and for converting the light amount into an electric signal a digitized value of the detected light On the basis of the electric signal value transmitted from the sensing unit comprising: a data processing unit for calculating a living body data, the data processing unit, K / S (a) = (1-R ) 2 / 2R (Here, R = Digit t = a / Digit t = 0 and, Digit t = a is t = a measured intensity values from the sensing unit time, Digit t = 0 is added at time t = 0 the detection measuring a quantity of light value, K: absorption coefficient, S: scattering coefficient, R: the detection portion according to the formula of the measured spectral reflectance) is calculated according to the biometric data for K / S value, the K / S value of the living body from the sample itself, judges whether the abnormal value can not be calculated, and the abnormal value is determined according to the type of material that the analyte in the biological sample, and determining whether or not a predetermined constant time value held over, the K / S value of the predetermined constant time or more in the case where the test strip is held, and determines that an abnormal value has been removed from t