ArcGIS Online - Overwrite Entire Layer Error

855
6
07-05-2021 08:15 AM
Labels (1)
DavidMorganUKEd
Esri Contributor

Hi, 

One of our teacher community has noticed that the "Update Data > Overwrite Entire Layer" returns the error message:

'Cannot update item User cant overwrite this service, using this data, as this data is already referring to another service'

This workflow had been working previously, but has recently started to return this error message. 

The "Append Data" option still works 

0 Kudos
6 Replies
Peter_Klingman
Esri Regular Contributor

Hi @DavidMorganUKEd have you been able to reproduce this on your side too? If so, would it be possible to post the steps here so I can take a look?

It would be good to raise this with Support so that they can test this and possibly get an issue logged if it hasn't been reproducible yet. 

Thanks,

-Peter

0 Kudos
DavidMorgan3
New Contributor
Hi @Peter_Klingman, yes, I found the same error.

 Steps are......

  • In Content, find Feature Layer to be overwritten (originally published from csv upload, original csv still in content)
  • Open Feature Layer details page, select "Update Data > Overwrite Entire Layer"
  • Choose csv file to overwrite with (this is the same csv file as originally used, with some extra points added and saved with the same file name)
  • Click "Overwrite"
  • Fails with the error message "Cannot update item. User cant overwrite this service, using this data, as this data is already referring to another service."

 


 

Peter_Klingman
Esri Regular Contributor

Hi @DavidMorganUKEd - Thanks for sharing the steps. I was not able to reproduce the issue in my organization. Can you please send the CSV file used to pklingman@esri.com?

Is it possible that another feature layer was published from the CSV as indicated by the error message?

Thanks,

-Peter

0 Kudos
NathanBerger1
New Contributor

My organization is having this exact same issue. Thank you for outlining this problem. 

0 Kudos
Peter_Klingman
Esri Regular Contributor

Hi @NathanBerger1 - this issue has not been reproducible with CSVs that do not have special characters in the column names. If you test this with a CSV where the field names meet ArcGIS Online's requirements, is the issue reproducible? 

Thanks,

-Peter 

0 Kudos
AndréPiasta
Esri Contributor

@Peter_Klingman , I can verify that this is occurring.

I tried this very thing last evening for a course we have here in Canada, and a simple hosted feature layer (<17AGOL_FL_OverwriteERROR_1.PNGAGOL_FL_OverwriteERROR_2.PNGAGOL_FL_OverwriteERROR_3.PNGk rows) that was created from a CSV file, could not be updated/overwritted with a second CSV file (same name, just about 50 added rows) and the above-noted error was the result.

The *very* weird part is that this worked, approximately a month (or so) back, withour issue.

0 Kudos