laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000161602
EingereichtSeptember 21, 2023
Zuletzt geändertJune 18, 2025
Gilt fürArcGIS API for Python
Gefunden in Version2.1.1
BetriebssystemN/A
BetriebssystemversionN/A
StatusDuplicate

Zusätzliche Informationen

Duplicate of BUG-000164245.

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000161602

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