<?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 Unknown Error Code in Geocoding Response in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unknown-error-code-in-geocoding-response/m-p/17934#M92</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a database of around 200k addresses and I need to geocode all of them; seeing that a batching option is available, I tried out a few sample requests (GET, 1-2 addresses) and it worked like a charm. To add support for 150-175 addresses, I went with the POST verb and added the addresses in the body field (application/json); ever since I did that, I started receiving some weird responses (Status Code 200 but the response body contains a 400). Even the GET requests stopped working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried contacting Esri support and they redirected me here; in the screenshots below, you can find my request and my response. The endpoint I am using is:&amp;nbsp;&lt;A href="https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses"&gt;https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Request&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="488022" alt="This is the request." class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/488022_Screen Shot 2020-04-08 at 8.03.16 PM.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query Parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="488023" alt="Query parameters." class="jive-emoji jive-image image-2 j-img-original" src="/legacyfs/online/488023_Screen Shot 2020-04-08 at 8.03.48 PM.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Response&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="488048" alt="The response object." class="jive-emoji jive-image image-3 j-img-original" src="/legacyfs/online/488048_Screen Shot 2020-04-08 at 8.04.01 PM.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am not totally certain as to what I should do from here. Any guidance will be great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2020 08:45:15 GMT</pubDate>
    <dc:creator>ShreyanshPandey</dc:creator>
    <dc:date>2020-04-09T08:45:15Z</dc:date>
    <item>
      <title>Unknown Error Code in Geocoding Response</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unknown-error-code-in-geocoding-response/m-p/17934#M92</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a database of around 200k addresses and I need to geocode all of them; seeing that a batching option is available, I tried out a few sample requests (GET, 1-2 addresses) and it worked like a charm. To add support for 150-175 addresses, I went with the POST verb and added the addresses in the body field (application/json); ever since I did that, I started receiving some weird responses (Status Code 200 but the response body contains a 400). Even the GET requests stopped working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried contacting Esri support and they redirected me here; in the screenshots below, you can find my request and my response. The endpoint I am using is:&amp;nbsp;&lt;A href="https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses"&gt;https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Request&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="488022" alt="This is the request." class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/488022_Screen Shot 2020-04-08 at 8.03.16 PM.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query Parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="488023" alt="Query parameters." class="jive-emoji jive-image image-2 j-img-original" src="/legacyfs/online/488023_Screen Shot 2020-04-08 at 8.03.48 PM.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Response&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="488048" alt="The response object." class="jive-emoji jive-image image-3 j-img-original" src="/legacyfs/online/488048_Screen Shot 2020-04-08 at 8.04.01 PM.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am not totally certain as to what I should do from here. Any guidance will be great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 08:45:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unknown-error-code-in-geocoding-response/m-p/17934#M92</guid>
      <dc:creator>ShreyanshPandey</dc:creator>
      <dc:date>2020-04-09T08:45:15Z</dc:date>
    </item>
  </channel>
</rss>

