I am trying to systematically overwrite a large point Feature Layer on ArcGIS online using the ArcGIS API for Python. I am closely following the example here:overwriting_feature_layers | ArcGIS for Developers and referring to this: FeatureLayerCollectionManager - Overwrite to guide me through the process. However, I keep getting the following error message:
Traceback (most recent call last):
File "C:\GIS\AVGOPS\Scripts\extractVehicles_1Week_AGOL.py", line 51, in <module>
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\managers.py", line 748, in overwrite
published_item = related_data_item.publish(publish_parameters, overwrite=True)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py", line 4278, in publish
serviceitem_id = self._check_publish_status(ret, folder)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py", line 4390, in _check_publish_status
raise Exception("Job failed.")
Exception: Job failed.
I am not sure what is happening here. I made sure that the schema, filename and file type are the same as the original upload. The file is large ( about 70000 point features). Could it be timing out?
Any advice would help.