Batch Validation Error Codes {#batch-results-file-response-xml-error-code-values}
=================================================================================

This table lists error code values, messages, and remedies that can be present in the **\&lt;Error\&gt;** element. For general information about that element type, see [The Error Element](/docs/cybs/en-us/batch/user/all/rest/batch-upload/batch-results-file-response/batch-results-file-response-xml/batch-results-file-response-xml-error.md "").  
The `%s` strings in Error Message column of this table represent dynamic values (such as batch IDs and record numbers) that appear in actual messages in an \&lt;Error\&gt; element.

| Error Code | Error Message                                                                                                                  | Remedy                                                                                                                                        |
|:-----------|:-------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------|
| 101        | Missing required field in File Header record: `%s`.                                                                            | Include the required field in the file and resubmit.                                                                                          |
| 102        | MerchantID (`%s`) is not in our database.                                                                                      | Ensure that the merchant ID is valid.                                                                                                         |
| 103        | MerchantID (`%s`) does not match with the ID used to log in for uploading the file.                                            | Verify the merchant ID and resubmit.                                                                                                          |
| 104        | batchID exceeds max length of `%s`.                                                                                            | Generate a shorter batch ID and resubmit.                                                                                                     |
| 105        | `%s` had already passed validation stage.                                                                                      | The batch ID has been submitted. If this is a new batch, generate a new batch ID and send the file again.                                     |
| 106        | Invalid recordCount value: `%s`.                                                                                               | Check record count to make sure it is numeric and resubmit.                                                                                   |
| 107        | The file does not contain any data records.                                                                                    | The file must contain at least one data record. Correct and resubmit.                                                                         |
| 108        | The recordCount exceeds the maximum number of records allowed per batch (`%s`).                                                | Generate a smaller batch file and resubmit.                                                                                                   |
| 109        | Invalid creationDate format: `%s`.                                                                                             | Correct the date format and resubmit (use *yyyy-mm-dd*).                                                                                      |
| 110        | Unsupported service: `%s`.                                                                                                     | The service is not supported through batching. You may only request that service directly online.                                             |
| 111        | Missing required field in Data Header record: `%s`.                                                                            | Include the missing required field in the file and resubmit.                                                                                  |
| 112        | Missing required field in Data Record: `%s`.                                                                                   | Include the required field in the file and resubmit.                                                                                          |
| 113        | merchantID `%s` is not valid or has not been configured correctly.                                                             | Contact `Cybersource` support to confirm that the merchant ID you are using is valid or is configured to be submitted by another merchant ID. |
| 114        | SUM in Trailer record (`%s`) does not match with actual total (`%s`).                                                          | Make sure the sum in the Trailer record matches with the actual sum of all data records.                                                      |
| 115        | SUM in Trailer record is invalid (`%s`).                                                                                       | Check to make sure the sum value is numeric.                                                                                                  |
| 116        | Missing required field in File Trailer record: `%s`.                                                                           | Pass in required field and resubmit.                                                                                                          |
| 117        | Duplicate file (batchID: `%s`).                                                                                                | Make sure that the batch ID is unique.                                                                                                        |
| 118        | Duplicate file. The data content in this file seems to have been submitted in batchID=`%s`.                                    | Make sure the content of the file has not been previously submitted.                                                                          |
| 119        | File Trailer record is missing.                                                                                                | Correct the file format and resubmit.                                                                                                         |
| 120        | There was a problem reading the input file.                                                                                    | Contact `Cybersource` support to verify that file `%s` was received and is readable.                                                          |
| 121        | Found Data Header record but missing File Header record.                                                                       | Correct the file format and resubmit.                                                                                                         |
| 122        | Found Data record but missing Data Header record.                                                                              | Correct the file format and resubmit.                                                                                                         |
| 123        | Number of fields does not match with the number of field names in the following rows: `&lt;list of batch file row numbers&gt;` | Correct the file format and resubmit.                                                                                                         |
| 124        | Found trailer record but missing File/Data Header record.                                                                      | Correct the file format and resubmit.                                                                                                         |
| 201        | A problem occurred while inserting the batch status in the database.                                                           | Contact `Cybersource` support.                                                                                                                |
| 202        | A problem occurred while updating: batchID: `%s`, status: `%s`"                                                                | Contact `Cybersource` support.                                                                                                                |
| 203        | A problem occurred while retrieving the merchant configuration from the database.                                              | Contact `Cybersource` support.                                                                                                                |
| 204        | A problem occurred during validation of the batchID against the database.                                                      | Contact `Cybersource` support.                                                                                                                |
| 205        | A database problem occurred during checksum calculation.                                                                       | Contact `Cybersource` support.                                                                                                                |
| 301        | An internal error occurred during file validation.                                                                             | Contact `Cybersource` support.                                                                                                                |
[Error Codes, Messages, and Remedies]

