<?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: Getting &amp;quot;Not Found Error&amp;quot; when using the addFeatures rest api in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-quot-not-found-error-quot-when-using-the/m-p/362335#M33564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom, you might want to post this question in the Survey123 for ArcGIS group:&amp;nbsp;&lt;A href="https://community.esri.com/group/4077"&gt;Survey123 for ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This group is more for asking questions about the JS API:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/quick-start/" title="https://developers.arcgis.com/javascript/latest/guide/quick-start/"&gt;Quick Start | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2020 22:07:33 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2020-02-06T22:07:33Z</dc:date>
    <item>
      <title>Getting "Not Found Error" when using the addFeatures rest api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-quot-not-found-error-quot-when-using-the/m-p/362334#M33563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to add data to a feature service upon submission of a survey123 form. To do this I'm using Power automate (MS flow), however when making the api call to the AddData api I'm getting the response "Not found".&lt;/P&gt;&lt;P&gt;The request I'm making is below:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://services.arcgis.com/3RsgVwHTLxF3DFCG/arcgis/rest/services/service_ddba652e32ea4e24a2bbe1e06374bcb4/FeatureServer/0/addFeatures" title="https://services.arcgis.com/3RsgVwHTLxF3DFCG/arcgis/rest/services/service_ddba652e32ea4e24a2bbe1e06374bcb4/FeatureServer/0/addFeatures"&gt;https://services.arcgis.com/XXXXX/arcgis/rest/services/service_XXXX/FeatureServer&lt;/A&gt;/0/addFeatures?token=MYTOKEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;body:&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #fffffe; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;"f"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #0451a5;"&gt;"json"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;"adds"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #0451a5;"&gt;"[{\"geometry\":{\"x\":0,\"y\":0,\"spatialReference\":{\"wkid\":102100,\"latestWkid\":3857}},\"attributes\":MY GEOMETRYHERE}}]"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;"token"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #0451a5;"&gt;"MY TOKEN"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;"rollbackOnFailure"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #0451a5;"&gt;"true"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Reponse details:&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;The error details I have:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="background-color: #fffffe; font-weight: normal;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #09885a;"&gt;status code: 404&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="" style="color: #333333; background-color: #ffffff;"&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="1"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2147" data-is-focusable="true" data-item-index="1" data-selection-index="1" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;X-ArcGIS-Correlation-Id&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;XXXX&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="2"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2148" data-is-focusable="true" data-item-index="2" data-selection-index="2" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;X-ArcGIS-Instance&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;MTSDS_Web_IN_11&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="3"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2149" data-is-focusable="true" data-item-index="3" data-selection-index="3" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Access-Control-Allow-Origin&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;*&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="4"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2150" data-is-focusable="true" data-item-index="4" data-selection-index="4" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;X-Cache&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Error from cloudfront&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="5"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2151" data-is-focusable="true" data-item-index="5" data-selection-index="5" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;X-Amz-Cf-Pop&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;AMS54-C1&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="6"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2152" data-is-focusable="true" data-item-index="6" data-selection-index="6" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;X-Amz-Cf-Id&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;HDibQhp2qo3c_YhMMxnFLMVw_REW8Lpx3E5tmiAWKw7O7XAjSpKpGA==&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="7"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2153" data-is-focusable="true" data-item-index="7" data-selection-index="7" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Date&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Wed, 05 Feb 2020 11:23:52 GMT&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="8"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2154" data-is-focusable="true" data-item-index="8" data-selection-index="8" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Server&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Microsoft-IIS/10.0&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="9"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2155" data-is-focusable="true" data-item-index="9" data-selection-index="9" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Via&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;1.1 38f6d324a75dff585b0ce25920fd4bda.cloudfront.net (CloudFront)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #333333; background-color: #ffffff;"&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="10"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2156" data-is-focusable="true" data-item-index="10" data-selection-index="10" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;X-Powered-By&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;ASP.NET&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="11"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2157" data-is-focusable="true" data-item-index="11" data-selection-index="11" style="color: #666666; background: #f4f4f4; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Content-Length&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;1245&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-automationid="ListCell" data-list-index="12"&gt;&lt;DIV class="" data-automationid="DetailsRow" data-focuszone-id="FocusZone2158" data-is-focusable="true" data-item-index="12" data-selection-index="12" style="color: #666666; background: #ffffff; border: 0px; font-size: 12px;"&gt;&lt;DIV class="" data-automationid="DetailsRowFields"&gt;&lt;DIV class="" data-automation-key="Key" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Content-Type&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;text/html&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Response body:&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&amp;gt;&lt;BR /&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;404 - File or directory not found.&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;style type="text/css"&amp;gt;&lt;BR /&gt;&amp;lt;!--&lt;BR /&gt;body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}&lt;BR /&gt;fieldset{padding:0 15px 10px 15px;} &lt;BR /&gt;h1{font-size:2.4em;margin:0;color:#FFF;}&lt;BR /&gt;h2{font-size:1.7em;margin:0;color:#CC0000;} &lt;BR /&gt;h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} &lt;BR /&gt;#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;&lt;BR /&gt;background-color:#555555;}&lt;BR /&gt;#content{margin:0 0 0 2%;position:relative;}&lt;BR /&gt;.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}&lt;BR /&gt;--&amp;gt;&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;div id="header"&amp;gt;&amp;lt;h1&amp;gt;Server Error&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div id="content"&amp;gt;&lt;BR /&gt; &amp;lt;div class="content-container"&amp;gt;&amp;lt;fieldset&amp;gt;&lt;BR /&gt; &amp;lt;h2&amp;gt;404 - File or directory not found.&amp;lt;/h2&amp;gt;&lt;BR /&gt; &amp;lt;h3&amp;gt;The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.&amp;lt;/h3&amp;gt;&lt;BR /&gt; &amp;lt;/fieldset&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;If I follow the same link in the browser it seems to function correctly?&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;Any ideas?&lt;/DIV&gt;&lt;DIV class="" data-automation-key="Value" data-automationid="DetailsRowCell" style="padding: 6px 8px 6px 12px;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 11:29:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-quot-not-found-error-quot-when-using-the/m-p/362334#M33563</guid>
      <dc:creator>TomRuff</dc:creator>
      <dc:date>2020-02-05T11:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Not Found Error" when using the addFeatures rest api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-quot-not-found-error-quot-when-using-the/m-p/362335#M33564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom, you might want to post this question in the Survey123 for ArcGIS group:&amp;nbsp;&lt;A href="https://community.esri.com/group/4077"&gt;Survey123 for ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This group is more for asking questions about the JS API:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/quick-start/" title="https://developers.arcgis.com/javascript/latest/guide/quick-start/"&gt;Quick Start | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 22:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-quot-not-found-error-quot-when-using-the/m-p/362335#M33564</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-02-06T22:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Not Found Error" when using the addFeatures rest api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-quot-not-found-error-quot-when-using-the/m-p/362336#M33565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to confirm, you are using a POST request? &amp;nbsp;I believe that I've seen this error with a GET request to the addFeatures endpoint.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 22:01:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-quot-not-found-error-quot-when-using-the/m-p/362336#M33565</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2020-02-07T22:01:57Z</dc:date>
    </item>
  </channel>
</rss>

