<?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: arcgis server rest: error 500 with international characters in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-error-500-with-international/m-p/119992#M4700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a workaround I used&amp;nbsp;ArcGIS Online Assistant to edit the webmap json manually, replacing all "offending" characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That got the webmaps working again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to know how to solve the issue...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2019 09:05:06 GMT</pubDate>
    <dc:creator>DuarteCarreira</dc:creator>
    <dc:date>2019-07-08T09:05:06Z</dc:date>
    <item>
      <title>arcgis server rest: error 500 with international characters</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-error-500-with-international/m-p/119991#M4699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've been really baffled by this problem: portal and agol mapviewer stop working when I remove some layers from an arcgis server map service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After digging around, I saw that the error only happens when the layers have international characters, like ã, á, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at chrome console I cought an example of an offending request, with error 500. Very simple request:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;https ://server/instance/rest/path_to_service/MapServer/export?
dynamicLayers=[{"id":4,"name":"&lt;STRONG&gt;group2-layer1á&lt;/STRONG&gt;","source":{"type":"mapLayer","mapLayerId":4},"minScale":0,"maxScale":80000}]
&amp;amp;dpi=96&amp;amp;transparent=true&amp;amp;format=png32&amp;amp;layers=show:1,2,4,5&amp;amp;
token=bla
&amp;amp;bbox=-906856.5268948763,4616056.5285397945,-827362.0174784001,4661307.249284557
&amp;amp;bboxSR=102100
&amp;amp;imageSR=102100
&amp;amp;size=1040,592
&amp;amp;_ts=1562172529985
&amp;amp;f=image&lt;/PRE&gt;&lt;P&gt;This gives a 500 error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just replacing the name of the dynamiclayer marked in bold above to something with ansi characters it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm justing asking if someone has seen this? Is there a feasible workaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Versions details: AGS 10.7.0, windows 2008 r2 x64.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-error-500-with-international/m-p/119991#M4699</guid>
      <dc:creator>DuarteCarreira</dc:creator>
      <dc:date>2021-12-12T16:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis server rest: error 500 with international characters</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-error-500-with-international/m-p/119992#M4700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a workaround I used&amp;nbsp;ArcGIS Online Assistant to edit the webmap json manually, replacing all "offending" characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That got the webmaps working again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to know how to solve the issue...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 09:05:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-error-500-with-international/m-p/119992#M4700</guid>
      <dc:creator>DuarteCarreira</dc:creator>
      <dc:date>2019-07-08T09:05:06Z</dc:date>
    </item>
  </channel>
</rss>

