<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic After Pro 2.3 upgrade can't overwrite feature service via arcpy in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/after-pro-2-3-upgrade-can-t-overwrite-feature/m-p/768689#M598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 errors that appear:&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;serviceitem_id = ret[0]['serviceItemId']&lt;BR /&gt;KeyError: 'serviceItemId'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;RuntimeError: Service name &amp;lt;value&amp;gt;&amp;nbsp; already exists for '0123456789ABCDEF'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I can overwrite the feature service inside of Pro without any problems. It is only when trying to do it via arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Apr 2019 13:14:09 GMT</pubDate>
    <dc:creator>MarkJones7</dc:creator>
    <dc:date>2019-04-15T13:14:09Z</dc:date>
    <item>
      <title>After Pro 2.3 upgrade can't overwrite feature service via arcpy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/after-pro-2-3-upgrade-can-t-overwrite-feature/m-p/768689#M598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 errors that appear:&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;serviceitem_id = ret[0]['serviceItemId']&lt;BR /&gt;KeyError: 'serviceItemId'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;RuntimeError: Service name &amp;lt;value&amp;gt;&amp;nbsp; already exists for '0123456789ABCDEF'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I can overwrite the feature service inside of Pro without any problems. It is only when trying to do it via arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 13:14:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/after-pro-2-3-upgrade-can-t-overwrite-feature/m-p/768689#M598</guid>
      <dc:creator>MarkJones7</dc:creator>
      <dc:date>2019-04-15T13:14:09Z</dc:date>
    </item>
  </channel>
</rss>

