<?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 Copying item with the python API - index error? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/666882#M33281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im trying to copy a feature service from one AGOL account to another. The name is unique. When using the pyton API Im getting the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Unable to add feature service definition.&lt;BR /&gt;The operation failed because an index or statistics with name 'Tennpunkt_nummer_unidx' already exists on table 'db_4868.user_4868.Gatelys_Webmap_WFL1_TENNPUNKT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried cloning to different accounts but I always get the same error. This worked fine last year in October/November. I've tested using the arcgis api 1.62 and 1.7, with the same result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using GIS.content.clone_items() and have tested with copy_date=True and False.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or advice is appreciated!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2020 09:39:41 GMT</pubDate>
    <dc:creator>MathisGaarde_Kristensen</dc:creator>
    <dc:date>2020-01-22T09:39:41Z</dc:date>
    <item>
      <title>Copying item with the python API - index error?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/666882#M33281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im trying to copy a feature service from one AGOL account to another. The name is unique. When using the pyton API Im getting the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Unable to add feature service definition.&lt;BR /&gt;The operation failed because an index or statistics with name 'Tennpunkt_nummer_unidx' already exists on table 'db_4868.user_4868.Gatelys_Webmap_WFL1_TENNPUNKT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried cloning to different accounts but I always get the same error. This worked fine last year in October/November. I've tested using the arcgis api 1.62 and 1.7, with the same result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using GIS.content.clone_items() and have tested with copy_date=True and False.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or advice is appreciated!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 09:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/666882#M33281</guid>
      <dc:creator>MathisGaarde_Kristensen</dc:creator>
      <dc:date>2020-01-22T09:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Copying item with the python API - index error?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/666883#M33282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following tool:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-13762-copy-content-between-portals"&gt;https://community.esri.com/docs/DOC-13762-copy-content-between-portals&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Copy Services and Copy File Based Items tools will work for ArcGIS Online, however, the Copy Maps and Applications tool will not.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 14:28:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/666883#M33282</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-01-22T14:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Copying item with the python API - index error?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/666884#M33283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake,&lt;BR /&gt;I get the same error using this tool. I see in the code that the cloning is also done using "content.clone_items".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 13:46:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/666884#M33283</guid>
      <dc:creator>MathisGaarde_Kristensen</dc:creator>
      <dc:date>2020-02-14T13:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Copying item with the python API - index error?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/1010038#M37761</link>
      <description>&lt;P&gt;Hi Mathis,&lt;/P&gt;&lt;P&gt;Just wondering if you managed to solve this issue, I am getting the same '&lt;SPAN&gt;_unidx' already exists&amp;nbsp;error message when trying to clone content.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 02:21:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/1010038#M37761</guid>
      <dc:creator>DataLoader</dc:creator>
      <dc:date>2020-12-16T02:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Copying item with the python API - index error?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/1286196#M51983</link>
      <description>&lt;P&gt;Any update on this?&amp;nbsp; We are having the same problem cloning a feature service.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/copying-item-with-the-python-api-index-error/m-p/1286196#M51983</guid>
      <dc:creator>RandallBrown</dc:creator>
      <dc:date>2023-05-05T15:46:07Z</dc:date>
    </item>
  </channel>
</rss>

