<?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: Uncaught (in promise) after adding layer the 2nd time to map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-after-adding-layer-the-2nd/m-p/1248755#M79941</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sounds like you are running into a behavior described here: &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aborterror-when-deleting-a-layer-after-changing/m-p/1242399/highlight/true#M79671" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aborterror-when-deleting-a-layer-after-changing/m-p/1242399/highlight/true#M79671&lt;/A&gt; This issue will be fixed at version 4.26. In meantime, y&lt;SPAN&gt;ou can test the fix on our next release by the end of this week by pointing your app to:&amp;nbsp; &amp;lt;script src="&lt;/SPAN&gt;&lt;A href="https://js.arcgis.com/next/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://js.arcgis.com/next/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was not able to reproduce the issue in 4.25. But I did test your codepen using next and did not see the abortError.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 16:22:22 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2023-01-17T16:22:22Z</dc:date>
    <item>
      <title>Uncaught (in promise) after adding layer the 2nd time to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-after-adding-layer-the-2nd/m-p/1248610#M79923</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I get an unspecified error message if I add an layer (in this case an geojson layer created from a blob) to the map, after I added &amp;amp; removed the same layer. Except for the error message, no visible malfunction occurs, but I would like to understand what the cause is. What could be the reason and how could I avoid the error message?&lt;/P&gt;&lt;P&gt;Error message in browser console (FYI: not in the internal codepen console): "Uncaught (in promise) k&amp;nbsp;{name: 'AbortError', details: undefined, message: 'Aborted'}"&lt;/P&gt;&lt;P&gt;Example: &lt;A href="https://codepen.io/hjmd/pen/OJwjaKJ?editors=1000" target="_blank" rel="noopener"&gt;https://codepen.io/hjmd/pen/OJwjaKJ?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;FYI: Sometimes it does not happen on the first run of the codepen, but after a reload of the page (F5).&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;BR /&gt;Björn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 10:35:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-after-adding-layer-the-2nd/m-p/1248610#M79923</guid>
      <dc:creator>Björn</dc:creator>
      <dc:date>2023-01-17T10:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Uncaught (in promise) after adding layer the 2nd time to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-after-adding-layer-the-2nd/m-p/1248755#M79941</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sounds like you are running into a behavior described here: &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aborterror-when-deleting-a-layer-after-changing/m-p/1242399/highlight/true#M79671" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aborterror-when-deleting-a-layer-after-changing/m-p/1242399/highlight/true#M79671&lt;/A&gt; This issue will be fixed at version 4.26. In meantime, y&lt;SPAN&gt;ou can test the fix on our next release by the end of this week by pointing your app to:&amp;nbsp; &amp;lt;script src="&lt;/SPAN&gt;&lt;A href="https://js.arcgis.com/next/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://js.arcgis.com/next/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was not able to reproduce the issue in 4.25. But I did test your codepen using next and did not see the abortError.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 16:22:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-after-adding-layer-the-2nd/m-p/1248755#M79941</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-01-17T16:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Uncaught (in promise) after adding layer the 2nd time to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-after-adding-layer-the-2nd/m-p/1250196#M79993</link>
      <description>&lt;P&gt;Yes, it seems that the error message doesn't appear with the "next" release version. Thank you for your feedback!&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2023 11:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-after-adding-layer-the-2nd/m-p/1250196#M79993</guid>
      <dc:creator>Björn</dc:creator>
      <dc:date>2023-01-21T11:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Uncaught (in promise) after adding layer the 2nd time to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-after-adding-layer-the-2nd/m-p/1408457#M84288</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am faced with the same type of error on the 4.29 version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to reproduce the issue in the example pointed out above after a few refreshes, and I really can't reproduce it on the&amp;nbsp;&lt;A href="https://codepen.io/tvshevchuk/pen/qBwKNaR" target="_self"&gt;4.26 version example&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But here is&amp;nbsp;&lt;A href="https://codepen.io/tvshevchuk/pen/YzMvWwx" target="_self"&gt;4.29 version example&lt;/A&gt;&amp;nbsp;where it reproduces sporadically and mostly always after a page hard reload.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance, Taras&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 11:42:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-after-adding-layer-the-2nd/m-p/1408457#M84288</guid>
      <dc:creator>Taras</dc:creator>
      <dc:date>2024-04-11T11:42:08Z</dc:date>
    </item>
  </channel>
</rss>

