<?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: addFeature for a polygon gives two different error messages in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/addfeature-for-a-polygon-gives-two-different-error/m-p/311305#M1524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mannus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see the following help topic for more information regarding "Editing features with z-values in feature services":&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//00930000164n000000.htm"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//00930000164n000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Aug 2010 11:37:29 GMT</pubDate>
    <dc:creator>RaviNarayanan</dc:creator>
    <dc:date>2010-08-20T11:37:29Z</dc:date>
    <item>
      <title>addFeature for a polygon gives two different error messages</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/addfeature-for-a-polygon-gives-two-different-error/m-p/311304#M1523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i try to post the following message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;features=[{"geometry":{"rings":[[[203853.556499999,503811.715500001],[203878.6611,503761.506299999],[203891.213399999,503761.506299999],[203928.870299999,503736.401700001],[203941.422600001,503711.2971],[203966.527199998,503686.192499999],[203966.527199998,503748.954],[204004.184099998,503058.577399999],[203803.3473,502343.0962],[202598.326400001,502569.037700001],[202121.3389,503209.204999998],[202071.129700001,503635.9833],[202786.6109,503912.133900002],[203414.225900002,503924.6862],[203677.824299999,503899.581599999],[203828.451900002,503824.2678],[203853.556499999,503811.715500001]]],"spatialReference":{"wkid":28992}}}]&amp;amp;f=json&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to the url:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost/ArcGIS/rest/services/dbk/FeatureServer/2/addFeatures"&gt;http://localhost/ArcGIS/rest/services/dbk/FeatureServer/2/addFeatures&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my client returns the message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"addResults":[{"objectId":-1,"globalId" : null,"success":false,"error":{"code":-2147221398,"description":"Geometry does not have Z Value(s)."}}]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but if I use the example page of the rest api and fill in my post i get the following message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "error" : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "code" : 400, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "message" : "Unable to complete&amp;nbsp; operation.", &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "details" : [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Invalid graphic features", &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Invalid parameters"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So what is wrong with my message to post?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 09:45:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/addfeature-for-a-polygon-gives-two-different-error/m-p/311304#M1523</guid>
      <dc:creator>MannusEtten</dc:creator>
      <dc:date>2010-08-19T09:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: addFeature for a polygon gives two different error messages</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/addfeature-for-a-polygon-gives-two-different-error/m-p/311305#M1524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mannus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see the following help topic for more information regarding "Editing features with z-values in feature services":&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//00930000164n000000.htm"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//00930000164n000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 11:37:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/addfeature-for-a-polygon-gives-two-different-error/m-p/311305#M1524</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2010-08-20T11:37:29Z</dc:date>
    </item>
  </channel>
</rss>

