laptop and a wrench

Error

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

Última publicación: July 5, 2021 ArcGIS API for Python
Número de ID del error BUG-000122287
EnviadoMay 9, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for Python
Versión encontrada1.5.1
Sistema operativoWindows OS
Versión de sistema operativo2016 64 Bit
EstadoKnown Limit

Información adicional

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.

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000122287

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga