<?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 Re: Cloned items deleted if _ItemCreateException occurs, any way to ignore errors? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cloned-items-deleted-if-itemcreateexception-occurs/m-p/1320403#M8940</link>
    <description>&lt;P&gt;Would you mind sharing how you modified the code? I'm running into the same situation. Thanks in advanced.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Aug 2023 11:10:10 GMT</pubDate>
    <dc:creator>GeoNomad</dc:creator>
    <dc:date>2023-08-19T11:10:10Z</dc:date>
    <item>
      <title>Cloned items deleted if _ItemCreateException occurs, any way to ignore errors?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cloned-items-deleted-if-itemcreateexception-occurs/m-p/1171367#M7375</link>
      <description>&lt;P&gt;When cloning from AGOL to Portal as a user, I sometimes encounter errors that cause the whole clone operation to revert, and all cloned items are deleted.&amp;nbsp; As a user (not administrator) it is not always possible to correct these errors, but there is still value in having a development/backup copy of as many items as possible.&amp;nbsp; Is there a way to ignore errors during cloning, and keep the cloned items?&lt;/P&gt;&lt;P&gt;Example: I don't have access to create a Feature Tracking service on our Portal, so when I clone my content I get this error:&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;_ItemCreateException&lt;/SPAN&gt;&lt;/STRONG&gt;: ('Failed to create Feature Service Location Tracking: Location tracking service schema cannot be modified.\n(Error Code: 500)', Item title:"location_tracking_0755" type:Feature Layer Collection owner:me@MYDOMAIN)&lt;/PRE&gt;&lt;P&gt;and then all the items that had been cloning over get removed at the destination.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 02:28:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/cloned-items-deleted-if-itemcreateexception-occurs/m-p/1171367#M7375</guid>
      <dc:creator>ShawnBeltz</dc:creator>
      <dc:date>2022-05-06T02:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned items deleted if _ItemCreateException occurs, any way to ignore errors?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cloned-items-deleted-if-itemcreateexception-occurs/m-p/1172102#M7381</link>
      <description>&lt;P&gt;FYI, solved this by modifying the cloning and exception handling code that ships with ArcGIS Pro.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 18:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/cloned-items-deleted-if-itemcreateexception-occurs/m-p/1172102#M7381</guid>
      <dc:creator>ShawnBeltz</dc:creator>
      <dc:date>2022-05-09T18:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned items deleted if _ItemCreateException occurs, any way to ignore errors?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cloned-items-deleted-if-itemcreateexception-occurs/m-p/1320403#M8940</link>
      <description>&lt;P&gt;Would you mind sharing how you modified the code? I'm running into the same situation. Thanks in advanced.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Aug 2023 11:10:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/cloned-items-deleted-if-itemcreateexception-occurs/m-p/1320403#M8940</guid>
      <dc:creator>GeoNomad</dc:creator>
      <dc:date>2023-08-19T11:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cloned items deleted if _ItemCreateException occurs, any way to ignore errors?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cloned-items-deleted-if-itemcreateexception-occurs/m-p/1613425#M11364</link>
      <description>&lt;P&gt;Would really appreciate if you can provide a more detailed answer on how to troubleshoot this&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 20:39:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/cloned-items-deleted-if-itemcreateexception-occurs/m-p/1613425#M11364</guid>
      <dc:creator>BhargavCSA</dc:creator>
      <dc:date>2025-05-09T20:39:30Z</dc:date>
    </item>
  </channel>
</rss>

