<?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 ERR_CONTENT_DECODING_FAILED with *-vector basemaps in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1372193#M83400</link>
    <description>&lt;P&gt;I was asked to update the basemaps on an old application running the 3.x JavaScript API. Example, switch from streets to streets-vector and topo to topo-vector. When I made the change, the basemaps didn't load and I started receiving ERR_CONTENT_DECODING_FAILED in the console in the Edge and Chrome browsers (it did not error in Firefox, but it also didn't display the basemap). I am using a proxy:&amp;nbsp;&lt;A href="http://localhost:49501/proxy.ashx?https://www.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json?f=json" target="_blank"&gt;http://localhost:49501/proxy.ashx?https://www.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json?f=json.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It also does not work when published to a valid https serving environment.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2024 13:04:37 GMT</pubDate>
    <dc:creator>JamesS1</dc:creator>
    <dc:date>2024-01-19T13:04:37Z</dc:date>
    <item>
      <title>ERR_CONTENT_DECODING_FAILED with *-vector basemaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1372193#M83400</link>
      <description>&lt;P&gt;I was asked to update the basemaps on an old application running the 3.x JavaScript API. Example, switch from streets to streets-vector and topo to topo-vector. When I made the change, the basemaps didn't load and I started receiving ERR_CONTENT_DECODING_FAILED in the console in the Edge and Chrome browsers (it did not error in Firefox, but it also didn't display the basemap). I am using a proxy:&amp;nbsp;&lt;A href="http://localhost:49501/proxy.ashx?https://www.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json?f=json" target="_blank"&gt;http://localhost:49501/proxy.ashx?https://www.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json?f=json.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It also does not work when published to a valid https serving environment.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 13:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1372193#M83400</guid>
      <dc:creator>JamesS1</dc:creator>
      <dc:date>2024-01-19T13:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: ERR_CONTENT_DECODING_FAILED with *-vector basemaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1372355#M83404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/14734"&gt;@JamesS1&lt;/a&gt;,&amp;nbsp;thanks for posting your question here. So this is a 3x app, with just updated vector basemaps? What version of 3x are you using?&lt;/P&gt;&lt;P&gt;Googling that error message didn't reveal much, other than clearing your browser cache and updating to the latest version of the browser. Do you get the same error with all browsers?&lt;/P&gt;&lt;P&gt;There was a similar issue reported, also with using a proxy, so maybe removing the proxy would help:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-3-7-proxy-ashx-fails-for-requests-with/td-p/1081324" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-3-7-proxy-ashx-fails-for-requests-with/td-p/1081324&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 17:03:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1372355#M83404</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2024-01-19T17:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: ERR_CONTENT_DECODING_FAILED with *-vector basemaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1372561#M83412</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;,&amp;nbsp;Thanks for the reply. I am using version 3.45. The issue appears to be with the proxy. If the proxy is removed, the basemaps render. But we need the proxy because of secure map services. We are using version 1.1.2 of the proxy. And we get the same error in all browsers.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 21:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1372561#M83412</guid>
      <dc:creator>JamesS1</dc:creator>
      <dc:date>2024-01-19T21:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: ERR_CONTENT_DECODING_FAILED with *-vector basemaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1372920#M83418</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/14734"&gt;@JamesS1&lt;/a&gt;&amp;nbsp;- I think it would be better to not use a proxy anyway.&amp;nbsp;I would recommend trying an alternative way to working with secure map services:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jshelp/ags_secureservices.html" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jshelp/ags_secureservices.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or, this might be a good opportunity to update to 4x, the latest and greatest version is 4.28:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/migrating/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/migrating/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/secure-resources/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/secure-resources/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 15:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1372920#M83418</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2024-01-22T15:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERR_CONTENT_DECODING_FAILED with *-vector basemaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1373481#M83431</link>
      <description>&lt;P&gt;Unfortunately, this is a client application, and the funding is not available to upgrade to 4.x. Also, we do not have Portal (Server only) and we can't use OAuth instead of a Proxy. Not sure what options are left to us aside from sticking with the non-vector, deprecated basemaps (which are now inaccurate no longer maintained).&lt;/P&gt;&lt;P&gt;Thanks for the replies so far.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 16:03:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/err-content-decoding-failed-with-vector-basemaps/m-p/1373481#M83431</guid>
      <dc:creator>JamesS1</dc:creator>
      <dc:date>2024-01-23T16:03:21Z</dc:date>
    </item>
  </channel>
</rss>

