I am trying to make a call to a composite locator geocoding service I have in my ArcGIS Enterprise. I used the following two calls as a model from this geonet post: https://community.esri.com/t5/data-management-questions/need-a-composite-locator-to-find-nearest-poi... , but when I put in my own url, it returns an error 400 "Unable to complete operation"
(I replace everything up until GeocodeServer). I am able to reach the reverse geocode UI in the directory, so I know it's getting to the locator and FindAddress calls work fine on it.
I made the composite locator in ArcGIS Pro 2.8, and it is hosted in ArcGIS Enterprise 10.8.1.
Please let me know if I am doing something wrong... here are the properties of the composite locator for reference:
Here are the capabilities of the service:
Were the locators that participate in the composite locator created using the Create Address Locator tool or the Create Locator tool. If they were locators created with the Create Locator tool, the distance parameter is ignored and you should consider using the featureTypes parameter if you want to specify the type of matches that are returned. Have you tried using the reverseGeocode REST endpoint page to help form the request? Are you looking to return intersection results or any feature type?
More examples using the different parameters are illustrated in the help for the reverse geocode operation, https://developers.arcgis.com/rest/geocode/api-reference/geocoding-reverse-geocode.htm.