Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Processing Flat Files | Sending and Receiving Flat Files | Validation Error Contents | General Error Entries in the errors Array
 
General Error Entries in the errors Array
An entry in the errors array contains the following information. For information about errorDetails entries, see Entries for Conditional Validator Errors in the errorDetails Array.
Variable in errors
Description
errorPosition
Indicates where the error occurred within the parent element. For a record, this indicates the position of the record within the flat file. For a composite, this indicates the position of the field within the composite. For a nested child record, this indicates the position of the field within the record.
errorMessage
A brief description of the error.
errorCode
A number indicating the type of error. For a list, see Validation Error Codes.
reference
The name of the element in the flat file schema that contained the error.
badData
The value of the data that failed validation.
childErrors
(Array). Indicates that a field or subfield within the record or composite generated a validation error.