<?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: Add Feature by REST API Error in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051649#M39718</link>
    <description>&lt;P&gt;get the same error in Pro as the WebMap when trying to create a new feature&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StuartMoore_0-1619517850634.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11917i39FB73382D2A1BD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StuartMoore_0-1619517850634.png" alt="StuartMoore_0-1619517850634.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 10:04:26 GMT</pubDate>
    <dc:creator>StuartMoore</dc:creator>
    <dc:date>2021-04-27T10:04:26Z</dc:date>
    <item>
      <title>Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051307#M39693</link>
      <description>&lt;P&gt;so i'm trying to add a new feature to an AGOL feature service using the Apply edits REST API the feature service is a polyline and i get this error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "addResults" : [
    {
      "objectId" : null, 
      "uniqueId" : null, 
      "globalId" : "5ED16305-D978-4C4F-951F-B87FC1479927", 
      "success" : false, 
      "error" : 
      {
        "code" : 1000, 
        "description" : "Invalid column name 'Shape_5'.\r\nInvalid column name 'Shape_7'.\r\nInvalid column name 'Shape_9'.\r\nInvalid column name 'Shape_11'.\r\nInvalid column name 'Shape_13'.\r\nInvalid column name 'Shape_15'."
      }
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have even queried an existing feature and tried to re-add it using its JSON and get the same error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 14:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051307#M39693</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-04-26T14:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051327#M39696</link>
      <description>&lt;P&gt;Can you share the inputs that produce this error? The error message is helpful, but without the context of what's producing it, I doubt you'll get a good answer.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 14:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051327#M39696</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-04-26T14:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051368#M39697</link>
      <description>&lt;P&gt;strangely i get the same error when trying to manually create the feature in a webmap, its as thought the indexes are corrupt on the feature service&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[{
      "attributes" : {
        "SUBTYPE_" : 11, 
        "ID" : "52", 
        "OWNEr" : "5", 
        "MATERIAL" : "un",
        "PrimeDriver" : "TEST", 
        "CompletedWhen" : null
      }, 
      "geometry" : 
      {
        "paths" : 
        [
          [
            [400000, 288000], 
            [400001, 288001]
          ]
        ]
      }
    }]&lt;/LI-CODE&gt;&lt;P&gt;the above is&amp;nbsp; roughly what i was trying to use&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 15:52:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051368#M39697</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-04-26T15:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051649#M39718</link>
      <description>&lt;P&gt;get the same error in Pro as the WebMap when trying to create a new feature&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StuartMoore_0-1619517850634.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11917i39FB73382D2A1BD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StuartMoore_0-1619517850634.png" alt="StuartMoore_0-1619517850634.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 10:04:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051649#M39718</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-04-27T10:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051661#M39720</link>
      <description>&lt;P&gt;That's very strange. Does rebuilding the indices help anything?&lt;/P&gt;&lt;P&gt;Are you able to export the features? It might be worth it to export the whole layer then use the export to overwrite the feature service. Keep the data, but sort of refresh the other stuff.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 10:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1051661#M39720</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-04-27T10:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1052108#M39755</link>
      <description>&lt;P&gt;ive exported it to an FGDB and it worked fine, just ran the check geometry tool in Arc Catalog and its highlighted 3 features with errors:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;WARNING 000442: short segments at 29505&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:18:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1052108#M39755</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-04-28T08:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1052117#M39756</link>
      <description>&lt;P&gt;i've deleted the 3 features with errors and rebuild the indexes again but still get the same error&lt;/P&gt;&lt;P&gt;i'm always nervous about re-publishing in case anything gets messed up in the process...&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:57:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1052117#M39756</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-04-28T08:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1086224#M41591</link>
      <description>&lt;P&gt;Were you able to find a solution? I am experiencing the same problem. This appears to be correlated with a modification of the Definition properties.&amp;nbsp;&lt;BR /&gt;I updated the &lt;A href="https://developers.arcgis.com/rest/services-reference/online/update-definition-feature-layer-.htm#ESRI_SECTION2_FA45FE1BD17547758D2B64078A344CA3" target="_self"&gt;Types property&lt;/A&gt; from the admin interface and this issue started.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 16:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1086224#M41591</guid>
      <dc:creator>PhilLarkin1</dc:creator>
      <dc:date>2021-08-05T16:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1086474#M41610</link>
      <description>&lt;P&gt;the only solution i found was to create a new feature service, i didnt want to try re-publishing the original service&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 08:45:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1086474#M41610</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-08-06T08:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1088204#M41691</link>
      <description>&lt;P&gt;Same here &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 23:09:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1088204#M41691</guid>
      <dc:creator>PhilLarkin1</dc:creator>
      <dc:date>2021-08-11T23:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Add Feature by REST API Error</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1148400#M44614</link>
      <description>&lt;P&gt;This may not help you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/159798"&gt;@StuartMoore&lt;/a&gt; as this was quite some time ago, hwoever I figured I would post this for anyone who like me came hunting for a solution for this error.&lt;/P&gt;&lt;P&gt;I was having this error when trying to add features to a Feature Service which was created as a copy of the Location Tracking service which is automatically created as part of configuring Tracker for ArcGIS.&lt;/P&gt;&lt;P&gt;When the layer was created, and I'm not sure if this is the case for all feature layers, the Track Lines layer was configured with Layer Optimization on.&lt;/P&gt;&lt;P&gt;Once I turned off the Layer Optimization in the layer settings page, for the Track Lines layer, I was able to add features as expected.&lt;/P&gt;&lt;P&gt;Hopefully this helps someone who runs into this issue, assuming this is a general fix and not just specific to my use case.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;</description>
      <pubDate>Sun, 27 Feb 2022 22:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/add-feature-by-rest-api-error/m-p/1148400#M44614</guid>
      <dc:creator>SeanMcCann1</dc:creator>
      <dc:date>2022-02-27T22:42:49Z</dc:date>
    </item>
  </channel>
</rss>

