laptop and a wrench

Bogue

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]>)."

Dernière publication: July 5, 2021 ArcGIS API for Python
Numéro d’ID de bogue BUG-000122287
EnvoiMay 9, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.5.1
Système d’exploitationWindows OS
Version du système d’exploitation2016 64 Bit
StatutKnown Limit

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000122287

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement