SAP Knowledge Base Article - Public

3638489 - Error "The file is not a CSV or the headers are invalid" during csv upload in manage document visibility

Symptom

When attempting to upload a CSV file to remove document visibility in the "Manage Document Visibility" tool, the error message "The file is not a CSV or the headers are invalid." is displayed.

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 Performance Management

Reproducing the Issue

  1. Navigate to the "Manage Document Visibility" tool.
  2. Download the CSV template provided by the system.
  3. Populate the template with the required data.
  4. Attempt to upload the populated CSV file to remove document visibility.
  5. Receive the error message: "The file is not a CSV or the headers are invalid."

Cause

One possible cause is that the uploaded CSV file is encoded with UTF-8 BOM instead of UTF-8.

Resolution

  1. Open the CSV file using a text editor such as Notepad.
  2. Save the file with encoding set to UTF-8 (without BOM).
    1. In Notepad, select "File" > "Save As".
    2. In the "Encoding" dropdown, choose "UTF-8".
    3. Save the file.
  3. Re-upload the corrected CSV file to the "Manage Document Visibility" tool and test if it works now.

See Also

KB Article 2088802 - Invalid File Header When Importing CSV File in SuccessFactors

Keywords

csv upload error, manage document visibility, utf-8 encoding, utf-8 bom, csv headers invalid, document visibility removal, csv template issue, encoding mismatch, csv file error, by role, by user, invalid, notepad, format, style, text , KBA , LOD-SF-PM-ADM , Admin Center, RBP, Permissions and Settings , Problem

Product

SAP SuccessFactors Performance & Goals all versions

Attachments

save with encoding UTF-8.png