AnsweredAssumed Answered

Is there a way to find out the maximum permitted batch size for a feature service?

Question asked by jamesbag_1spatial on Feb 16, 2016
Latest reply on Oct 5, 2018 by flspat

I have a Map Server with a feature service configured with the MaxRecordCount parameter set to 50000. I want to send modifications (creates, updates or deletes) to this feature service, which I send in batches.

When I send batches of size greater than 100 (even 101!), every request returns with:

{"error":{"code":500,"message":"Unable to complete operation.","details":["Unable to perform updateFeatures operation."]}}


The Map Server logs look like this:

SEVERE: An error occurred.

DEBUG: RequestId: 10808 16/02/2016 10:55:26 45d1eace-fcf7-4d58-9735-2650fddffc8c Error while Performing Edits for GraphicFeatureServer::Update.

SEVERE: An error occurred.

FINE: Update has completed.

SEVERE: An error occurred.

FINE: REST request successfully processed. Response size is 121 characters.

(then my own logging of the response received above).


Batches of size 100 do not encounter this problem (for this particular server).

Is there a way to find out this latent maximum batch size? Or even configure it?

I can handle this case and uses smaller batch sizes in response but ideally, if there is a limit on batch size, I want to query for it rather than sending a request that was never going to work.


I'm using ArcGIS Server 10.3.1.