<?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: overwrite feature service error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/overwrite-feature-service-error/m-p/1053981#M61010</link>
    <description>&lt;P&gt;Is there a change in schema of the original zipped shapefile and the current one?&lt;/P&gt;&lt;P&gt;According to&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#ESRI_SECTION1_1D3A87A80E3E4CD2A71744715F1522FE" target="_self"&gt;Overwrite hosted feature layers&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;SPAN&gt;You must use the same &lt;STRONG&gt;source file type&lt;/STRONG&gt; and &lt;STRONG&gt;schema&lt;/STRONG&gt; when you overwrite a hosted feature layer.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 20:42:22 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2021-05-03T20:42:22Z</dc:date>
    <item>
      <title>overwrite feature service error</title>
      <link>https://community.esri.com/t5/python-questions/overwrite-feature-service-error/m-p/1053915#M61001</link>
      <description>&lt;P&gt;Hi, I've published a feature service from a zipped shapefile. Now when I want to rewrite this service, I get this message.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="ansi-red-fg"&gt;AttributeError&lt;/SPAN&gt;: 'str' object has no attribute 'type'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Don't know when there could be a problem? My item id is correct.&lt;/P&gt;&lt;P&gt;Thanks&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12432i6E67D3FE491DA6F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12433i6D21342059E2B442/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 18:41:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwrite-feature-service-error/m-p/1053915#M61001</guid>
      <dc:creator>JiříKomínek</dc:creator>
      <dc:date>2021-05-03T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite feature service error</title>
      <link>https://community.esri.com/t5/python-questions/overwrite-feature-service-error/m-p/1053970#M61007</link>
      <description>&lt;P&gt;FeatureLayerCollection.fromitem takes an &lt;STRONG&gt;Item&lt;/STRONG&gt; as its argument. Try:&lt;/P&gt;&lt;PRE&gt;FeatureLayerCollection.fromitem(gis_AGOL.content.get('itemID'))&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 May 2021 20:24:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwrite-feature-service-error/m-p/1053970#M61007</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-05-03T20:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: overwrite feature service error</title>
      <link>https://community.esri.com/t5/python-questions/overwrite-feature-service-error/m-p/1053981#M61010</link>
      <description>&lt;P&gt;Is there a change in schema of the original zipped shapefile and the current one?&lt;/P&gt;&lt;P&gt;According to&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#ESRI_SECTION1_1D3A87A80E3E4CD2A71744715F1522FE" target="_self"&gt;Overwrite hosted feature layers&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;SPAN&gt;You must use the same &lt;STRONG&gt;source file type&lt;/STRONG&gt; and &lt;STRONG&gt;schema&lt;/STRONG&gt; when you overwrite a hosted feature layer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 20:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwrite-feature-service-error/m-p/1053981#M61010</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-05-03T20:42:22Z</dc:date>
    </item>
  </channel>
</rss>

