Select to view content in your preferred language

Unknown Error Code in Geocoding Response

671
0
04-09-2020 01:45 AM
ShreyanshPandey
New Contributor

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.

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: https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses

Request

This is the request.

Query Parameters

Query parameters.

Response

The response object.

I am not totally certain as to what I should do from here. Any guidance will be great!

0 Kudos
0 Replies