Skip to main content

Hi all. I am just trying to do something very basic but keep getting a “1019 error. The specified feature could not be updated or does not exist” when using the update feature writer.

This only happens with polygons and lines/polylines but works fine with points.

The workbench below is taking a polygon boundary dataset from portal, taking a polygon from AGOL putting it through a change detector - whose unique identifier is a name in both features- then updating/inserting/deleting when necessary to essentially make the AGOL layer the same as the portal layer….Or in theory this is what i want it to do.

 

Any help would be much appreciated.

 

 

How is the feature writer configured?


I have just left it as the standard update settings.

 

 


I’ve been able to replicate your issue.

It appears the way the AGOL Writer is determining which features to update based on either the ObjectID or GlobalId (depending if the writer is set to use Global IDs)
 

 

The error is saying that there isn’t a feature with that ID to update

The error code from the server was '1019' and the message was: 'The specified feature could not be updated or does not exist.'

To retain the value from the AGOL Reader, you can specify the Global/ObjectID field to be preserved on the Updated Output port in the ChangeDetector
 

 


That worked perfectly. That's so frustrating that it was something so simple to change

 You have saved me so much time trying work-arounds and complicated procedures. Its very much appreciated!