Hello all,
I would like to run a simple python script that uses arcpy.geocoding.GeocodeAddresses to geocode an sde table and output to a feature class. I'd like to use our geocoding service, which is available to anyone on our network and is also a publicly shared item on our Portal. It's also configured as a Geocoding Utility Service.
When I try to use the URL configured with Portal, it fails when run in Server's installation of python with an access error (ERROR 000005: Could not open the address locator.). I can run the script in Pro's installation of python, it works as long as I have an active connection to the Portal configured in Pro (I don't need to be signed in for this to work).
I can load the .loc file that's on the Server directories and by-pass the URL all together, but then I get the following error on the table when I try to run the script: ERROR 000010: Geocode addresses failed. The Fields collection did not contain an expected geometry field. Failed to execute.
This feels like it should be possible using arcpy, but I am coming up short. Server 11.3 and Pro 3.3
Also posted in the Python community: https://community.esri.com/t5/python-questions/geocoding-using-a-publicly-available-geocoding/m-p/15...