I’m using the Esri Geodatabase (ArcSDE) reader and the safe.esri-AGOL.ArcGISFEATURESERVICE writer to publish to our ArcGIS Portal (Portal [11.3], ArcGIS Pro [3.5.1]). The feature service gets created, but it’s always empty.
The source feature class has about 56,764 records, but the writer log shows this error:
ArcGISFeatureServiceWriter: append error: Write job failure: 'Error has occurred.'
ArcGISFeatureServiceWriter: 0 features successfully written to 'aaSiteAddressPointDEV2',
but the server rejected the 56765 features in the last request due to errors.
Python Exception <RejectedBatchWrite>: FMEException...
Has anyone run into this? Any advice on what usually causes the “rejected batch write” when using the ArcGISFeatureService writer to Portal?
Thanks!
Hi, this will be something simple in how you're writing. If you're using the FME product please open a support call with Safe Software, if you're using Data Interoperability open one with Esri and request a screen share when our product engineer can join the call, PDT time zone.
I confrm that I can write an Enterprise 11.3 feature layer with the new ESRI ArcGIS Feature Service (3.12.4)
I initially got an error when my Append is configured with Feature Collection (the log showed this error). I switched it to GEOJSON. Before running again, I deleted the feature service in Enterprise created from the first failed run. Once its deleted I ran my workspace again and successfully added features on the layer.
My error message when on my first failed run is similar to yours.
What other error message appeared in your log before this python message? Mine is below,
"switched it to GEOJSON" Is this setting in the writer? Could you send me a screenshot of the writer with your configuration?
Yes, its in the writer parameters.
Do my other parameters look correct for creating a new feature service?
Can we take this offline? Here's my email, rsalvaleon@esri.com.