laptop and a wrench

Bug

The overwrite() method from ArcGIS API for Python produces a "{'success': True}" message but there are no changes or updates observed.

ArcGIS API for Python
Bug-ID-Nummer BUG-000162267
EingereichtOctober 20, 2023
Zuletzt geändertJune 25, 2025
Gilt fürArcGIS API for Python
Gefunden in Version2.1.0
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusNon-Reproducible

Zusätzliche Informationen

The issue is not reproducible in ArcGIS API for Python version 2.2.0.1. Update to ArcGIS API for Python version 2.2.0.1. gis = GIS( profile='your_login_profile') fp = r"C:\data\OverwriteAPI.gdb.zip" item = gis.content.add( { "title": "overwrite_test", "type": "File Geodatabase", }, data=fp, ) pitem = item.publish() # add new data to the file geodatabase listed above in ArcGIS Pro. # flc = FeatureLayerCollection.fromitem(item) mgr = flc.manager mgr.overwrite(data_file=fp) After updating to ArcGIS API for Python version 2.2.0.1, the new feature data added to the file geodatabase is re-zipped and provided to the overwrite method to allow the data to be updated. This method is tested in ArcGIS Online and ArcGIS Enterprise with no issues on any platform.

Schritte zur Reproduzierung

Bug-ID: BUG-000162267

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