laptop and a wrench

Bug

Item().export() response from arcgis.gis._impl._con.Connection().post() returns 'success' is not a key in the dictionary.

ArcGIS API for Python
Bug ID Number BUG-000161759
SubmittedSeptember 28, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found2.1.1
Operating SystemN/A
Operating System VersionN/A
Version Fixed2.2.0
StatusFixed

Workaround

src/arcgis/gis/init.py:13605 is currently: 

 

res["success"] == False:  

 

Change it to: 

 

if not res.get("exportItemId"): 

Steps to Reproduce

Bug ID: BUG-000161759

Software:

  • ArcGIS API for Python

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