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?
Thank you for your insight Kelly! I think that may be one of the issues with my data set. Mind letting me know how you approach this so that the issue won't occur?
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!
Thanks Kelly! Unfortunately, even after opening and fixing in CSV, removing spaces, and putting only 2 columns of info down - the same message is present.
How was the CSV created? Are you able to share it?
Sorry, I can't share it due to it's sensitive details. I had "Saved As" - CSV.