laptop and a wrench

Bug

The ArcGIS API for Python export() or delete() call creates occasional ghost indexes on ArcGIS Online.

Last Published: September 23, 2021 ArcGIS Online
Bug ID Number BUG-000119033
SubmittedDecember 26, 2018
Last ModifiedDecember 20, 2023
Applies toArcGIS Online
Version foundN/A
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusUnder Consideration

Workaround

The script calls the following functions:

 

exported_backup_feature = backup_feature.export(backup_feature.title,

                            'File Geodatabase', parameters=None, wait='True')

fgdb = gis.content.get(exported_backup_feature['exportItemId']) # backup_feature ID

fgdb.download(save_path=output_folder)

fgdb.delete()

 

By amending the order of functions called, and calling delete on the output of fgbd.export(), running the script does not produce ghost indexes. Below are the amended script calls:

fgdb = gis.content.get('<itemID>')

toExport = fgdb.export('name','File Geodatabase')

toExport.download(save_path=r"FIlePath")

toExport.delete()

Steps to Reproduce

Bug ID: BUG-000119033

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options