Attempting to add a CSV file to a web map in ArcGIS Online Map Viewer fails, and returns the following error message:
Error: An error occurred while creating features. (Duplicate field names are not allowed. ())
The error may occur when the table contains a column without a header.
To solve the issue, insert values for the blank column header field.