Good afternoon,
I am trying to create a backup script to copy several hosted feature classes. I am testing the scrip in the Notebook. Any idea why this line fails?
### Create Backup
dataitem.export(title=tempfile,export_format="File Geodatabase",parameters=None,wait=True)
--------------------------------------------------------------------------
KeyError Traceback (most recent call last)
In [32]:
Line 2: dataitem.export(title=tempfile,export_format="File Geodatabase",parameters=None,wait=True)
File C:\Users\e160795\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\arcgis\gis\__init__.py, in export:
Line 12859: export_item = Item(gis=self._gis, itemid=res["exportItemId"])
KeyError: 'exportItemId'
---------------------------------------------------------------------------