laptop and a wrench

Bug

When cloning a hosted feature service which has a lot of vertices, the cloning process fails, and returns the following error message, "_ItemCreateException: ('Failed to create Feature Service [serviceName]: Expecting value: line 1 column 1 (char 0)', <Item title:"[serviceName]" type:Feature Layer Collection owner:[owner]>)."

Zuletzt veröffentlicht: July 5, 2021 ArcGIS API for Python
Bug-ID-Nummer BUG-000122287
EingereichtMay 9, 2019
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for Python
Gefunden in Version1.5.1
BetriebssystemWindows OS
Betriebssystemversion2016 64 Bit
StatusKnown Limit

Zusätzliche Informationen

The clone_items() method works in most cases to clone hosted feature services. There are certain circumstances, most notably with feature layers containing geometries which have large numbers of vertices or a large number of features. In these circumstances, workarounds have to be used to successfully migrate. The feature services can be migrated through exporting, or through the use of duplicating the schema and then appending rows into the layer.

Workaround

Generalize the data to decrease the number of vertices in the data and republish the data. Refer to, https://pro.arcgis.com/en/pro-app/tool-reference/editing/generalize.htm.

Schritte zur Reproduzierung

Bug-ID: BUG-000122287

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln