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
- Navigate to the "Manage Document Visibility" tool.
- Download the CSV template provided by the system.
- Populate the template with the required data.
- Attempt to upload the populated CSV file to remove document visibility.
- 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
- Open the CSV file using a text editor such as Notepad.
- Save the file with encoding set to UTF-8 (without BOM).
- In Notepad, select "File" > "Save As".
- In the "Encoding" dropdown, choose "UTF-8".
- Save the file.
- 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
Attachments
| save with encoding UTF-8.png |
SAP Knowledge Base Article - Public