ArcGIS Online Feature Layer maxRecordCount Limits
Documented Limits
According to Esri’s Feature Layer reference for the ArcGIS REST API (as well as the related support article), the upper bound for hosted services is:
32,000records for point layers4,000records for line and polygon layers
These limits apply to ArcGIS Online hosted feature services and remain in effect even when overridden programmatically (for example via the SDK).
Sandbox Validation
Uploading a zipped line or polygon shapefile that exceeds the documented limit, even after forcing a higher maxRecordCount, produces the following error:
“The maximum number of records allowed (4000) has been exceeded.”
This behavior confirms the platform-level constraint for non-point layers.
Recommended Configuration
Configure hosted feature layers with the documented maximum values:
maxRecordCount = 32,000- This increases the line/polygon allowance from
1,000to4,000, and point layers up to32,000.