Symptom
Connector job doesn't run and it returns the following error:
Error while reading content of file : <connector filename>txt. Invalid Input file. Input size doesn't match with declared headers at line Number : <line number>.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Learning
Cause
The error is due to the additional columns or extra character in the input file, which doesn't match the column headers. For example:
Resolution
- On the connector job, click "Show Archived Input Files" > Save it on your local machine
- Open Excel > Data > Get Data > From File > From Text/CSV
- Select the connector file and import it > Don't forget to define the correct delimiter
- Refer to the line number on the error, then check for extra characters
- Make the necessary changes, then re-run the connector.
It's possible to download connector templates to see sample import files with the correct format (System Administration > Connectors > Download Connector Template).
It's recommended to engage the SAP team that delivers services or an SAP Certified Partner to review and perform adjustments in the connector configuration/file.
See Also
Keywords
input size doesn't match with declared headers, error while reading content of file, connector, learning, error, processing, exception, header, input, size, read, reading, run, running , KBA , LOD-SF-LMS-CON , Connectors , Problem
SAP Knowledge Base Article - Public