I'm attempting to bulk geocode a set of addresses through the REST API from a Node.js client using the /geocodeAddresses?f=json endpoint. The problem is that if I send 50 addresses, and one of them is unmappable, the entire request comes back as a 500 server error:
{"errors":[{"errorCode":"INTERNAL_ERROR","errorDescription":"An error occurred while processing request, null"}]}Is there a way that I'm not understanding to tell it to return the rest of the results without scramming the entire request? Sending them one at a time is unrealistic due to the volume of addresses involved.
Example (this will return only a 500 response, instead of one mapped and one unmapped result):
addresses={"records":[{"attributes":{"OBJECTID":1,"SingleLine":"9999 PENNSLYVANIA AVE NW,WASHINGTON,DC,20500"}},{"attributes":{"OBJECTID":1,"SingleLine":"1600 PENNSLYVANIA AVE NW,WASHINGTON,DC,20500"}}]}
Appreciate any thoughts on this!