Problem
When attempting to upload a file through an SFTP data integration job in DI Studio, the job fails and returns an error similar to the following:
Header mismatch found in file: [filename]
Example:
Cause
This error occurs when one or more existing files — stored on the server hosting the DIS agent services — share the same name as the file being uploaded but contain a mismatched header. The conflicting files must be removed before the upload can complete successfully.
Solution
The resolution depends on whether your DIS agent is hosted on-premise or by Prophix.
If the DIS agent is hosted on-premise (client-managed):
- Locate and delete the conflicting file(s) on your DIS agent server. Refer to the How to Locate the File section below for step-by-step instructions.
- Re-run the DI job.
If the DIS agent is hosted by Prophix:
- Contact Prophix Support and request that all files matching the filename referenced in the error message be deleted.
- Re-run the DI job.
How to Locate the File
- Remote into the server hosting the DIS agent.
- Navigate to the following directory:
C:\Program Files\Prophix\DataIntegration\ProphixTemp - Inside
ProphixTemp, you will find one folder per Site ID. If multiple folders are present, identify the correct one by matching the Site ID shown on the Admin page in DI Studio. - Within the Site ID folder, you will find either files or subfolders, depending on your SFTP configuration.
- Search for the filename referenced in the error message and delete all matching files.
Comments
Article is closed for comments.