I have been running into the same issue with Arc Online where I try to import from file and upload my CSV but it shows the error message "An error occurred while creating features. (Duplicate field names are not allowed. ())" This has been occurring even when:
1. I make sure my headings don't have spaces (instead, they would be filled with "_").
2. And I have ensured that there are no duplicate field names.
Is there alternate way to upload my CSV so I can have my point data on my map?
Thank you in advance.
Try opening the csv in notepad. In the initial line (the header), are there a bunch of commas at end like this? ,,,,,,
Sometimes this happens when saving. This is then interpreted as duplicate fields.
Could you share your csv?
If you are working with your data in excel before converting the file to a csv, make sure you delete any extra fields you may have typed in. If you find this happens frequently, try opening the csv before publishing so you can start to understand what is causing the blank fields to be created in the CSV while using excel.
I am experiencing the same issue and followed the advice re: viewing in notepad. Sure enough the commas are there. As I downloaded the file from an online source, I did not conduct the conversion to CSV. I cannot figure out how to remove the blank fields that are causing this error. Do you have any advice on how to understand/discover what is causing these blank fields?
I am also having the same issue too! Another thread also recommended removing all spaces from your header and replacing it with "_". This has not fixed my issue unfortunately. But I will keep trying! Do feel free to update your progress too!