<?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 clone_items yields error 'Failed to create Feature Service ..: {\'code\': 500, \'message\': &amp;quot;Field \'creationdate\'... in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/clone-items-yields-error-failed-to-create-feature/m-p/1563712#M73260</link>
    <description>&lt;PRE&gt;Attempting to clone a feature layer, which I have successfully done with the same following code:&lt;BR /&gt;hosted_flyr = source.content.get("7ce9bd0c827d41b29c7b3173478a8af3")&lt;BR /&gt;cloned_flyr = target.content.clone_items(items=[hosted_flyr])&lt;BR /&gt;&lt;BR /&gt;fails with the following error:&lt;BR /&gt;&lt;EM&gt;'Failed to create Feature Service ...: {\'code\': 500, \'message\': "Field \'creationdate\' cannot be deleted because it is used for editor tracking.", \'details\': []}', &amp;lt;Item title:"..." type:Feature Layer Collection owner:...&amp;gt;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have enabled editing, export, and syncing (as shown below), and still get the same error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhitneyWeber_0-1733157608021.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120655i26F1523617E5B6F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WhitneyWeber_0-1733157608021.png" alt="WhitneyWeber_0-1733157608021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide insight into why this is failing and how to resolve it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2024 16:41:16 GMT</pubDate>
    <dc:creator>WhitneyWeber</dc:creator>
    <dc:date>2024-12-02T16:41:16Z</dc:date>
    <item>
      <title>clone_items yields error 'Failed to create Feature Service ..: {\'code\': 500, \'message\': "Field \'creationdate\'...</title>
      <link>https://community.esri.com/t5/python-questions/clone-items-yields-error-failed-to-create-feature/m-p/1563712#M73260</link>
      <description>&lt;PRE&gt;Attempting to clone a feature layer, which I have successfully done with the same following code:&lt;BR /&gt;hosted_flyr = source.content.get("7ce9bd0c827d41b29c7b3173478a8af3")&lt;BR /&gt;cloned_flyr = target.content.clone_items(items=[hosted_flyr])&lt;BR /&gt;&lt;BR /&gt;fails with the following error:&lt;BR /&gt;&lt;EM&gt;'Failed to create Feature Service ...: {\'code\': 500, \'message\': "Field \'creationdate\' cannot be deleted because it is used for editor tracking.", \'details\': []}', &amp;lt;Item title:"..." type:Feature Layer Collection owner:...&amp;gt;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have enabled editing, export, and syncing (as shown below), and still get the same error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhitneyWeber_0-1733157608021.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120655i26F1523617E5B6F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WhitneyWeber_0-1733157608021.png" alt="WhitneyWeber_0-1733157608021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide insight into why this is failing and how to resolve it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 16:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/clone-items-yields-error-failed-to-create-feature/m-p/1563712#M73260</guid>
      <dc:creator>WhitneyWeber</dc:creator>
      <dc:date>2024-12-02T16:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: clone_items yields error 'Failed to create Feature Service ..: {\'code\': 500, \'message\': "Field \'creationdate\'...</title>
      <link>https://community.esri.com/t5/python-questions/clone-items-yields-error-failed-to-create-feature/m-p/1563742#M73262</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/88704"&gt;@WhitneyWeber&lt;/a&gt;&amp;nbsp;in the following &lt;A href="https://community.esri.com/t5/arcgis-enterprise-documents/migrate-content-for-arcgis-enterprise-arcgis/ta-p/1365455" target="_self"&gt;Migrate Content&lt;/A&gt; tools is a Copy Hosted Feature Services tool.&amp;nbsp; Try this tool and see if it works.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 17:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/clone-items-yields-error-failed-to-create-feature/m-p/1563742#M73262</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-12-02T17:14:44Z</dc:date>
    </item>
  </channel>
</rss>

