AnsweredAssumed Answered

publish(overwrite=true) Failing

Question asked by itadam00_AnneArundelMD on Mar 12, 2019
Latest reply on Jul 2, 2020 by Mark.Peacey@transpower.co.nz_Transpower

Overwriting existing SD…
Traceback (most recent call last):
File "test.py", line 74, in <module>
fs = sdItem.publish(overwrite=True)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py", line 7185, 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 7430, in _check_publish_status
raise Exception("Job failed.")
Exception: Job failed.

Can't seem to get past this error overwriting a SD on agol.  Using update() and publish(overwrite=true). Have read a few other posts but no resolutions - possibly rolling back to Pro 2.1.

 

Anyone have a clue on how to get past this or any alternatives to overwrite a SD on agol?

Outcomes