<?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 Error - French localization support using .NET client library in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-french-localization-support-using-net-client/m-p/36658#M157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the ESRI.ArcGIS.Client .NET api version 2.1.0.446. When performing an asynchronous request on the geometry service where the HTTP Accept-language header is french I receive the following error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;{"error":{"code":400,"message":"Unable to complete Buffer operation.","details":["'distances' parameter is invalid"]}}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example failing request&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;GET /ArcGIS/rest/services/Geometry/GeometryServer/buffer?inSR=4326&amp;amp;outSR=4326&amp;amp;bufferSR=4326&amp;amp;distances=178.412411615277&amp;amp;unit=9001&amp;amp;unionResults=true&amp;amp;geometries=-77.1075924528302%2c39.0304150943396&amp;amp;f=json&amp;amp; HTTP/1.1
Host: arcserver.host.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Cache-Control: max-age=0&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot find a way to adjust the request headers, enforce a culture/format on the input parameters, or manually adjust the generated URI using the ArcGIS client .NET library.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how I can solve this problem while still utilizing the .NET library?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2011 20:02:02 GMT</pubDate>
    <dc:creator>AustinBarton</dc:creator>
    <dc:date>2011-06-22T20:02:02Z</dc:date>
    <item>
      <title>Error - French localization support using .NET client library</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-french-localization-support-using-net-client/m-p/36658#M157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the ESRI.ArcGIS.Client .NET api version 2.1.0.446. When performing an asynchronous request on the geometry service where the HTTP Accept-language header is french I receive the following error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;{"error":{"code":400,"message":"Unable to complete Buffer operation.","details":["'distances' parameter is invalid"]}}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example failing request&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;GET /ArcGIS/rest/services/Geometry/GeometryServer/buffer?inSR=4326&amp;amp;outSR=4326&amp;amp;bufferSR=4326&amp;amp;distances=178.412411615277&amp;amp;unit=9001&amp;amp;unionResults=true&amp;amp;geometries=-77.1075924528302%2c39.0304150943396&amp;amp;f=json&amp;amp; HTTP/1.1
Host: arcserver.host.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Cache-Control: max-age=0&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot find a way to adjust the request headers, enforce a culture/format on the input parameters, or manually adjust the generated URI using the ArcGIS client .NET library.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how I can solve this problem while still utilizing the .NET library?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 20:02:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-french-localization-support-using-net-client/m-p/36658#M157</guid>
      <dc:creator>AustinBarton</dc:creator>
      <dc:date>2011-06-22T20:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error - French localization support using .NET client library</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-french-localization-support-using-net-client/m-p/36659#M158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ESRI.ArcGIS.Client .NET api version 2.2.0.629 does not resolve the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 16:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-french-localization-support-using-net-client/m-p/36659#M158</guid>
      <dc:creator>AustinBarton</dc:creator>
      <dc:date>2011-06-24T16:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error - French localization support using .NET client library</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-french-localization-support-using-net-client/m-p/36660#M159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Austin, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it work if a comma delimited value is used for the input distance? This could be related to a bug in .NET REST API where double values input to GP and Geometry Service are not culture invariant (NIM070072). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 14:47:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-french-localization-support-using-net-client/m-p/36660#M159</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2011-06-28T14:47:06Z</dc:date>
    </item>
  </channel>
</rss>

