<?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: Why is there an error message when using apply edits? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471558#M43718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are your computer's chrome browsers using any extensions? If so try disabling those extensions, and if not try and delete the cookies and caches from your chrome browsers on your computers. One more thing I can think of is that is causing this to happen to you is your DNS server, at that point you can try and change your DNS or flush your DNS. Flushing is quite easy to do and is quick google search. Again I will say that I did not get an error when I used the example and I was using chrome myself.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2019 16:55:12 GMT</pubDate>
    <dc:creator>DavidWilson3</dc:creator>
    <dc:date>2019-06-20T16:55:12Z</dc:date>
    <item>
      <title>Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471551#M43711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you try to apply an edit in this esri sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=editing-applyedits"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=editing-applyedits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Observe the network request, it returns a 502 code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="102" src="https://community.esri.com/legacyfs/online/450816_pastedImage_1.png" width="590" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example fetch request that should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;fetch("https://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services/IncidentsReport/FeatureServer/0/applyEdits", {"credentials":"omit","headers":{"content-type":"application/x-www-form-urlencoded"},"referrer":"https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=editing-applyedits","referrerPolicy":"no-referrer-when-downgrade","body":"f=json&amp;amp;deletes=42558","method":"POST","mode":"cors"});&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It returns a 502 error for some reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong? Or is this a bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 18:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471551#M43711</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-06-19T18:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471552#M43712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting any errors when applying edits with this sample no matter what I try and apply. I think perhaps it has to do with your fetch request, have you tried looking at documentation for the esri/request class? Perhaps you should try that approach instead, here is documentation:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html"&gt;request | ArcGIS API for JavaScript 4.11&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 18:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471552#M43712</guid>
      <dc:creator>DavidWilson3</dc:creator>
      <dc:date>2019-06-19T18:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471553#M43713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried the esri/request class.&amp;nbsp; It isn't any different.&amp;nbsp; I have additionally tried the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#applyEdits"&gt;applyEdits&lt;/A&gt;&amp;nbsp;method on a featurelayer.&amp;nbsp; Also, using the gui and inputting the delete feature id directly, I still get the same error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 18:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471553#M43713</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-06-19T18:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471554#M43714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just attempted the same post request on a different computer.&amp;nbsp; It works.&amp;nbsp; No idea what is happening on my machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 18:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471554#M43714</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-06-19T18:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471555#M43715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;502 errors are bad gateway errors, most likely the issue is on your end with your browser or networking equipment. I would suggest that you either start a new browser session, clear your browser cache, delete you browser's cookies, start your browser in safe mode or try another browser. You could also try restarting your computer or networking equipment. And if none of that works perhaps try and change your DNS servers&amp;nbsp; temporarily.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 18:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471555#M43715</guid>
      <dc:creator>DavidWilson3</dc:creator>
      <dc:date>2019-06-19T18:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471556#M43716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have any of my suggestions helped with you using your post request on your own machine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 13:55:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471556#M43716</guid>
      <dc:creator>DavidWilson3</dc:creator>
      <dc:date>2019-06-20T13:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471557#M43717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using a different browser, it cleared up the errors.&amp;nbsp; I tried on another machine in chrome and the same issue was occurring.&amp;nbsp; I want to prevent this from happening for my chrome users.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 15:13:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471557#M43717</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-06-20T15:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471558#M43718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are your computer's chrome browsers using any extensions? If so try disabling those extensions, and if not try and delete the cookies and caches from your chrome browsers on your computers. One more thing I can think of is that is causing this to happen to you is your DNS server, at that point you can try and change your DNS or flush your DNS. Flushing is quite easy to do and is quick google search. Again I will say that I did not get an error when I used the example and I was using chrome myself.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 16:55:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471558#M43718</guid>
      <dc:creator>DavidWilson3</dc:creator>
      <dc:date>2019-06-20T16:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471559#M43719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the responses.&amp;nbsp; I tried flushing my DNS.&amp;nbsp; It fixed the issue on this computer.&amp;nbsp; But I still am worried about a potential customer running into the same issue on their machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 16:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471559#M43719</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-06-20T16:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there an error message when using apply edits?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471560#M43720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand your concern but DNS 502 errors mainly only happen when&lt;SPAN style="color: #141412; background-color: #ffffff;"&gt;&amp;nbsp;your site has made recent changes to its DNS server, which is a result of changing host servers or moving the site to a different IP address. As such if your customers come into this problem they should only have to deal with&amp;nbsp;the DNS propagation once by flushing their DNS. I personally would not be concerned too much about the chances of it happening to customers and if it does I have outlined the trouble shooting steps previously.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 17:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-there-an-error-message-when-using-apply/m-p/471560#M43720</guid>
      <dc:creator>DavidWilson3</dc:creator>
      <dc:date>2019-06-20T17:14:39Z</dc:date>
    </item>
  </channel>
</rss>

