After Pro 2.3 upgrade can't overwrite feature service via arcpy

388
0
04-15-2019 06:14 AM
MarkJones7
Occasional Contributor

Good Morning everyone,

Just wondering if anyone has come across this issue and found a solution for it. Before upgrading to 2.3 of Pro I cannot publish my feature service via arcpy.

There are 2 errors that appear:

1)

 serviceitem_id = ret[0]['serviceItemId']
KeyError: 'serviceItemId'

2)

RuntimeError: Service name <value>  already exists for '0123456789ABCDEF'

Clearly that isn't the proper ID value, but the error will appear when I just go a gis.content.search using the name of the service OR the ID of the service.

Now, I can overwrite the feature service inside of Pro without any problems. It is only when trying to do it via arcpy.

Any assistance is greatly appreciated.

Thanks,

Mark

0 Kudos
0 Replies