Select to view content in your preferred language

ArcGISFeatureService writer creates service but no features written

484
15
a month ago
JuneAcosta
Frequent Contributor

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!

0 Kudos
15 Replies
BruceHarold
Esri Frequent Contributor

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.

0 Kudos
RenatoSalvaleon3
Esri Contributor

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.

RenatoSalvaleon3_0-1759760405146.png

What other error message appeared in your log before this python message? Mine is below,

RenatoSalvaleon3_1-1759760556275.png

 

JuneAcosta
Frequent Contributor

"switched it to GEOJSON" Is this setting in the writer? Could you send me a screenshot of the writer with your configuration?

0 Kudos
RenatoSalvaleon3
Esri Contributor

Yes, its in the writer parameters.

RenatoSalvaleon3_0-1759767631474.png

 

0 Kudos
JuneAcosta
Frequent Contributor

Do my other parameters look correct for creating a new feature service?

JuneAcosta_1-1759773814953.png

 

0 Kudos
RenatoSalvaleon3
Esri Contributor

Can we take this offline? Here's my email, rsalvaleon@esri.com.