SAP Knowledge Base Article - Public

2860714 - Connector Error: Input size doesn't match with declared headers at line Number

Symptom

Connector job does not run and it reports 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

SAP SuccessFactors HXM Suite

Cause

Issue is due to the additional columns or extra character in the input file which does not match the column headers. For example:

Capture.png

Resolution

  1. On the User-SF connector job, click Show Archived Input Files > Download.
  2. Open > then open the file impacted. Save it on your local machine.
  3. Open Excel > Data > Get Data > From File > From Text/CSV
  4. Select the file and import.
  5. Select the correct Delimiter then Import.
  6. Refer to the line number on the error then check for the extra characters. Make the necessary changes then re-run the connector.

Keywords

COSD-40137, Input size doesn't match with declared headers, Error while reading content of file, user_extended_data , KBA , LOD-SF-LMS-CON , Connectors , Problem

Product

SAP SuccessFactors Learning 1908