Batch Geocode ResultID return -1

Discussion created by a.leone on May 13, 2014
Hi All,

I'm writing some code to use ArcGIS locator to geocode a list of addresses.
I'm using AddressesToLocationsAsync methods and passing the OBJECTID field as input parameter and it's geocoding fine,
but the field "ResultID" in the response is always -1.

This issue makes the batch geocoding unusable, is this a wpf api bug?
I also used wireshark to see the http request and the objectid is correctly passed in the request.

Thanks for any help