Symptom
- Attribute import job fails with HTTP error response code: 400 and message: Attributes validation failed.
- Error messages include:
- "The default locale is null or empty for the external ID ."
- "The status is null or empty for the external ID ."
- "The attribute name is null or empty for external ID ."
- "The external ID is null or empty."
- "The attribute type ID is null for external ID ."
Environment
SAP SuccessFactors Talent Intelligence Hub
SAP SuccessFactors Integration Center
Reproducing the Issue
- Populate attributes in the standard import template (CSV).
- Upload the CSV file to the SFTP location used for the import.
- In Integration Center, start the import job.
- Check Execution Manager: the job fails with HTTP 400 and “Attributes validation failed” including null/empty field errors.
- Error messages include:
"The default locale is null or empty for the external ID ."
"The status is null or empty for the external ID ."
"The attribute name is null or empty for external ID ."
"The external ID is null or empty."
"The attribute type ID is null for external ID ."
Cause
Trailing empty rows/lines at the end of the CSV file (often not visible in spreadsheet editors) create blank records, causing required fields to be read as null or empty during validation.
Resolution
- Open the CSV file in a plain text editor (for example, Notepad) to view raw lines.
- Remove any empty rows/lines at the end of the file so the last data row is the final line.
- Save the file as CSV.
- Re-run the attribute import from Integration Center and verify the job completes successfully.
Keywords
attribute import, attributes validation failed, http 400, default locale is null or empty, status is null or empty, attribute name is null or empty, external id is null or empty, attribute type id is null, csv trailing blank lines, empty rows, sftp, integration center, execution manager, talent intelligence hub, data import errors , KBA , LOD-SF-TIH , Talent Intelligence Hub and Job Profiles , LOD-SF-INT , Integrations , Problem
SAP Knowledge Base Article - Public