Select to view content in your preferred language

Maximum size of applyEdits POST JSON?

385
1
Jump to solution
05-20-2024 11:20 AM
NikMartin
Occasional Contributor

When I try to save a large set of adds/edit to a Map Service applyEdits endpoint, if the POST body reaches a certain size, the operation will fail, with a bogus error:

"Could not access any server machines. Please contact your system administrator."

But If I cut back on the number of edits, It will save. I haven't found the threshold yet, but an 8 MB post body will save, and a 17MB POST will throw this error. The service also has a SDE connection to an Oracle enterprise DB. 

0 Kudos
1 Solution

Accepted Solutions
NikMartin
Occasional Contributor

Found this setting added in 10.9 that seems to have solved the issue: Server properties—ArcGIS REST APIs | ArcGIS Developers, "maxHttpPostSizeInBytes"

View solution in original post

0 Kudos
1 Reply
NikMartin
Occasional Contributor

Found this setting added in 10.9 that seems to have solved the issue: Server properties—ArcGIS REST APIs | ArcGIS Developers, "maxHttpPostSizeInBytes"

0 Kudos