GeoEvent Fails to Update AGOL Feature

2714
10
Jump to solution
01-26-2017 11:38 AM
thomasbales
Occasional Contributor

I just finished installing ArcGIS Server Standard 10.5 and its accompanying GeoEvent Server and have not been able to update one of my  AGOL hosted feature layers. Prior to the install I was able to do this. The service is a basic feature service poll in -> field mapper -> feature service update.

Checking my log file i get the following message

Error while writing to feature service fleet_cloud_test. Error: {"error":{"code":400,"message":"","details":["'rollbackonfailure' parameter is invalid"]}}.

How do I fix this?

Thanks

Tags (2)
1 Solution

Accepted Solutions
thomasbales
Occasional Contributor

Well, I searched support a found out a patch for GEP 10.5 was released. On my first attempt installed the patch and I could not restart my GeoEvent service. So, I uninstalled then reinstalled (GEP) and then stopped both the ArcGIS Server and GEP while I re-installed the patch. Fired them both back up and  wolla, worked perfect. No problems updating my service.

Here is the link

ArcGIS GeoEvent Server 10.5 Patch 1 

View solution in original post

10 Replies
KevinHatch
New Contributor III

We are having the same issue following the 10.5 update.  Did you have any resolution on this?

0 Kudos
thomasbales
Occasional Contributor

No, but strangely I am able to add features but not update. I had to write some python code to overwrite the hosted feature service from a local gdb and map document. It works for now, but I can't update my hosted service faster than 30 seconds. Not a long term solution. I will reach out again to esri support next week.

Javier_RodolfoPintos_Ettlin
New Contributor II

Hello! good morning!
I have a problem trying to "Update a feature" from Geoevent to ArcGIS Online. When I try to do the same in Portal, it works well.
The Feature has the correct permissions, also when I simulate an updateFeature via POST passing the code in JSON, it works fine.
The only strange thing I see is that in the Geoevent Log, the same parameter is passed twice but with different values:

com.esri.ges.transport.featureService.

FeatureServiceOutboundTransport

Posting to URL: https://services.arcgis.com/KXXXXXXXXXXXXXT/arcgis/rest/services/RendimientoInstantaneo/FeatureServe... with parameters: features=[{"geometry":{"x":-63.23714,"y":-31.42259,"spatialReference":{"wkid":4326}},"attributes":{"maquina":"Claas Lexion 770 1","velocidad":6.3,"rendimiento":9.553,"humedad":16.9,"fecha":1492094652672,"OBJECTID":2}},{"geometry":{"x":-63.23628,"y":-31.42899,"spatialReference":{"wkid":4326}},"attributes":{"maquina":"Claas Lexion 770 2","velocidad":5.6,"rendimiento":9.965,"humedad":18.6,"fecha":1492094653704,"OBJECTID":3}},{"geometry":{"x":-63.23528,"y":-31.42123,"spatialReference":{"wkid":4326}},"attributes":{"maquina":"Claas Lexion 770 3","velocidad":6.5,"rendimiento":10.994,"humedad":17.2,"fecha":1492094651674,"OBJECTID":1}}]&rollbackOnFailure=false&f=json&token=NaIX_JMfrUdhTSrx3wr4Hxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxwy_GCBDb-xihEiL2-WfWkk7JvZ8NuYy1214NoJBA11wswiHiHhFA4Dmv8LOVfVdpDxZko9Uk8IVvEYAF5C0t8DgBKisfoFLL_8oAW9BculznYKOAaOqKOWfHlJCiG6pFyBWvLKyFJS3ZMT65XL-0J9C25RjZpc6kwTlSIeCKLFZaTP-UVXd7fzrpX1iEYjg67NN31b1Xh2Y-9IOhiJb-UIwQ..&rollbackOnFailure=true.13/04/2017 11:44DEBUG

Somebody happened to something similar, do they have any recommendations?
Thank you very much.
Best regards.

P.S: I want to clarify that the output correctly adds the geoevent the first time but does not update the feature the second time.

0 Kudos
thomasbales
Occasional Contributor

Were you able to resolve this?

0 Kudos
Javier_RodolfoPintos_Ettlin
New Contributor II

No.
I am searching any alternative because "Update a Feature" in AGOL not found.

0 Kudos
thomasbales
Occasional Contributor

For the time being I am using python code to update my hosted feature service. It is not a solid solution but I have been getting by using python. Here is the link. If you solve this please let me known. This issue has been a major thorn in my side. I spent one month on trying to solve this with no luck except I can add features to the existing hosted feature but I can't just update them.

Updating ArcGIS.com Hosted Feature Services with Python | ArcGIS Blog 

0 Kudos
Javier_RodolfoPintos_Ettlin
New Contributor II

Yes, a have the same problem.

I will intent with Python.

Thank you very much Thomas.

I'll be in touch.

Regars.

0 Kudos
thomasbales
Occasional Contributor

FYI, the process is to run the back end scripts that modify the data in

local geodatabase and once the models and scripts are complete you push

the mxd up to the cloud and overwrite the hosted service. I find that I

can get this option to work in every 30 second cycles. For my purposes 30

seconds is good enough but that is the limitation with the script. On the

other hand, it is a lot easier to get custom data into the feature using

python rather than the GeoEvent SDK.

Cheers,

Tom

Thomas Bales

GIS System Architect

Loram Maintenance of Way, Inc.

3900 Arrowhead Drive

Hamel, Minnesota 55340

Cell: 612-875-3154

0 Kudos
thomasbales
Occasional Contributor

Well, I searched support a found out a patch for GEP 10.5 was released. On my first attempt installed the patch and I could not restart my GeoEvent service. So, I uninstalled then reinstalled (GEP) and then stopped both the ArcGIS Server and GEP while I re-installed the patch. Fired them both back up and  wolla, worked perfect. No problems updating my service.

Here is the link

ArcGIS GeoEvent Server 10.5 Patch 1