laptop and a wrench

Error

When running a function from the arcgis.features module using the ArcGIS API for Python with context parameter including {"overwrite": True}, the overwritten feature layer adds an identical, duplicate sublayer to the selected item instead of overwriting.

ArcGIS API for Python
Número de ID del error BUG-000161602
EnviadoSeptember 21, 2023
Última modificaciónJune 18, 2025
Relacionado conArcGIS API for Python
Versión encontrada2.1.1
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoDuplicate

Información adicional

Duplicate of BUG-000164245.

Solución alternativa

Use ArcGIS Online Assistant to remove sublayers from feature layer. Note: ArcGIS Online Assistant is not supported by Esri Technical Support.

  1. Navigate to assistant.esri-ps.com and log in.
  2. On the My Content tab, find the target feature layer and click it. Click View Item JSON.
  3. Click the Data tab and click Edit JSON.
  4. Delete the duplicate JSON data. Make sure to keep the original ("id": 0). Deleting it all will break the layer and any dependent apps.

Pasos para reproducir

ID del error: BUG-000161602

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