<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create Geocode SD Draft error in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194644#M7582</link>
    <description>&lt;P&gt;Was the address locator created with the CreateAddress Locator (ArcMap) tool or Create Locator (Pro) tool?&lt;/P&gt;&lt;P&gt;Can you try having everything local (instead of network share) as a test to see if the script runs?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 20:34:22 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2022-07-21T20:34:22Z</dc:date>
    <item>
      <title>Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194587#M7581</link>
      <description>&lt;P&gt;I have a script to overwrite an existing locator service, in a standalone ArcGIS Server (10.9.1)&amp;nbsp;&lt;SPAN&gt;The code was originally shared by ArcGIS Geocoding Team &lt;A href="https://www.arcgis.com/home/item.html?id=54e8aab14f6e4c61b65b9dd9ab451503" target="_self"&gt;here&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm getting the following error when creating the sd draft file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t6vk6pW5G6.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/46436iF2CCC19C92471DA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="t6vk6pW5G6.jpg" alt="t6vk6pW5G6.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I already checked and all my paths are correct. Any ideas?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
import pprint
from arcgis.gis import server

## Sign in to server
# this connects to a standalone server that has web adaptor installed
EGServer = server.Server(url=f"https://arcgis:6443/arcgis/admin", username, password)
print(' Connected to server')


# Overwrite any existing outputs
arcpy.env.overwriteOutput = True

locator_path = "\\\\xxxx\\xxxx\\arcgissource\\locators\\EnerGov\\ElasticSearch"
sdDraft ="\\\\xxxx\\xxxx\\arcgissource\\locators\\EnerGov\\ElasticSearch\\ElasticSearchLocator.sddraft"
sd_file = "\\\\xxxx\\xxxx\\arcgissource\\locators\\EnerGov\\ElasticSearch\\ElasticSearchLocator.sd"
service_name = "ElasticSearchLocator"
summary = "Locator for EnerGov's elastic search"
tags = "EnerGov, locator, elastic search"


## server_connection_file has agssite login
server_connection_file = "\\\\xxxx\\xxxx\\arcgissource\\locators\\EnerGov\\admin on arcgis_6443.ags"

# Create the sd draft file
analyze_messages = arcpy.CreateGeocodeSDDraft(locator_path, sdDraft, service_name,
            server_connection_file, copy_data_to_server=True, summary=summary, 
            tags=tags, max_result_size=20,max_batch_size=500, 
            suggested_batch_size=150, overwrite_existing_service=True)
print("Creating SD Draft file")
print(arcpy.GetMessages())
## Stage and upload the service if the sddraft analysis did not contain errors
if analyze_messages['errors'] == {}:
    try:
        # Execute StageService to convert sddraft file to a service definition
        # (sd) file
        arcpy.StageService_server(sdDraft, sd_file)

        # Execute UploadServiceDefinition to publish the service definition
        # file as a service
        arcpy.UploadServiceDefinition_server(sd_file, EGServer)
        print("The geocode service was successfully published")
    except arcpy.ExecuteError:
        print("An error occurred")
        print(arcpy.GetMessages(2))
else:
## If the sddraft analysis contained errors, display them
    print("Error were returned when creating service definition draft")
    pprint.pprint(analyze_messages['errors'], indent=2)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 18:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194587#M7581</guid>
      <dc:creator>AliciaShyu</dc:creator>
      <dc:date>2022-07-21T18:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194644#M7582</link>
      <description>&lt;P&gt;Was the address locator created with the CreateAddress Locator (ArcMap) tool or Create Locator (Pro) tool?&lt;/P&gt;&lt;P&gt;Can you try having everything local (instead of network share) as a test to see if the script runs?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 20:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194644#M7582</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2022-07-21T20:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194671#M7583</link>
      <description>&lt;P&gt;The locator was created using the Create Locator (Pro) tool.&lt;/P&gt;&lt;P&gt;Changing everything to my local machine gives me the same value error showing the local path.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 20:55:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194671#M7583</guid>
      <dc:creator>AliciaShyu</dc:creator>
      <dc:date>2022-07-21T20:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194675#M7584</link>
      <description>&lt;P&gt;Is the script in this link the same as yours?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-portal-questions/overwriting-locator-python-but-it-changes/m-p/1186332" target="_blank"&gt;https://community.esri.com/t5/arcgis-enterprise-portal-questions/overwriting-locator-python-but-it-changes/m-p/1186332&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If so, how do the input parameters look compared to yours?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 21:09:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194675#M7584</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2022-07-21T21:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194687#M7585</link>
      <description>&lt;P&gt;Yes, the only difference is that I don't have portal setup, so I'm connecting to the server to upload the service.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 21:20:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1194687#M7585</guid>
      <dc:creator>AliciaShyu</dc:creator>
      <dc:date>2022-07-21T21:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1213245#M7760</link>
      <description>&lt;P&gt;I am getting this same error, did you find the solution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 02:19:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1213245#M7760</guid>
      <dc:creator>ShadearaGist</dc:creator>
      <dc:date>2022-09-16T02:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1213428#M7761</link>
      <description>&lt;P&gt;No, no solution yet.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:07:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1213428#M7761</guid>
      <dc:creator>AliciaShyu</dc:creator>
      <dc:date>2022-09-16T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1237601#M8102</link>
      <description>&lt;P&gt;A couple of ideas...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In past versions of arcpy the .LOC was not required maybe try to add the .loc to the full locator path and see if this resolves the value error&lt;/LI&gt;&lt;LI&gt;For the ArcGIS Server connection, try removing the .AGS from the connection file used for the publication. This change occurred somewhere around Pro 2.7.&lt;/LI&gt;&lt;LI&gt;Was the ArcGIS Server connection file created in ArcMap or ArcGIS Pro? There is a difference mainly with how the credential is saved and believe we had to convert our connections over to the pro versions.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 04 Dec 2022 17:11:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1237601#M8102</guid>
      <dc:creator>RonnieRichards</dc:creator>
      <dc:date>2022-12-04T17:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1238873#M8123</link>
      <description>&lt;P&gt;At 10.9.1 (ArcGIS Server) you don't need to republish the locator service. The script only needs to stop the service, rebuild the locator and start the service.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 19:50:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1238873#M8123</guid>
      <dc:creator>AliciaShyu</dc:creator>
      <dc:date>2022-12-07T19:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1238915#M8125</link>
      <description>&lt;P&gt;Thanks for this info&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/117650"&gt;@AliciaShyu&lt;/a&gt;&amp;nbsp;I am curious though, what is the source of your locators?&lt;/P&gt;&lt;P&gt;In our situation, they are file based locators and published to servers so not sure how a script stopping/starting the service would even have access to the published locator unless the server resource directory is shared.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 21:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1238915#M8125</guid>
      <dc:creator>RonnieRichards</dc:creator>
      <dc:date>2022-12-07T21:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1238932#M8126</link>
      <description>&lt;P&gt;Our locators are filed based in a shared directory that has been shared with the server.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 21:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1238932#M8126</guid>
      <dc:creator>AliciaShyu</dc:creator>
      <dc:date>2022-12-07T21:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1363568#M9446</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/117650"&gt;@AliciaShyu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm trying to work through a similar scenario that you described. I used to use the following code to stop/start the service, but I now get the following error:&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Traceback (most recent call last):&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\server\_common\_base.py", line 87, in __getattr__&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return self._properties.__getitem__(name)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\common\_mixins.py", line 342, in __getitem__&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return self._mapping[key]&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;KeyError: 'services'&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;During handling of the above exception, another exception occurred:&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Traceback (most recent call last):&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&amp;nbsp; File "C:\Users\user\Documents\ArcGIS\Projects\Locator_Rebuild_Test\RebuildTestLocators.py", line 17, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(server.services.list)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\server\_common\_base.py", line 93, in __getattr__&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "'%s' object has no attribute '%s'" % (type(self).__name__, name)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;AttributeError: 'Server' object has no attribute 'services'&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;gis_servers = gis.admin.servers.list()

#To stop specific service(s)
for server in gis_servers:
    for service in server.services.list(folder="Locators"):
        if service.properties.serviceName == "Locator_name":
            service.stop()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is there a different way to stop a service? All the esri documentation I've found still points to this code.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/managing-your-gis-servers/" target="_self"&gt;Managing your GIS servers | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-stop-gis-services-using-arcgis-api-for-python-000019994" target="_self"&gt;https://support.esri.com/en-us/knowledge-base/how-to-stop-gis-services-using-arcgis-api-for-python-000019994&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 14:35:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1363568#M9446</guid>
      <dc:creator>bbaker_tngeo</dc:creator>
      <dc:date>2023-12-21T14:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1363603#M9447</link>
      <description>&lt;P&gt;The code you have to stop the service is correct. That's what I'm using in my script to rebuild the locator.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 15:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1363603#M9447</guid>
      <dc:creator>AliciaShyu</dc:creator>
      <dc:date>2023-12-21T15:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1363618#M9448</link>
      <description>&lt;P&gt;What version of python are you using to run the script to stop the service?&lt;/P&gt;&lt;P&gt;Python bundled with 2.9.x used to work for me, but when I upgraded the machine to Pro 3.x and the associated python version the script no longer runs.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;BUG-000155115 does not allow the stop/start service python script to run.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 15:35:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1363618#M9448</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2023-12-21T15:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1363664#M9450</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10036"&gt;@MichaelVolz&lt;/a&gt;&amp;nbsp;&amp;nbsp;I have the same problem AttributeError: 'Server' object has no attribute 'services' with ArcGIS Pro 3.1.3 with arcgis api 2.1.0.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 17:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1363664#M9450</guid>
      <dc:creator>RonnieRichards</dc:creator>
      <dc:date>2023-12-21T17:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1366294#M9476</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10036"&gt;@MichaelVolz&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7683"&gt;@RonnieRichards&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I found this thread in Ideas and it appears it's been an issue for a while, with no solution in sight. From what I read, the recommended "workaround" is to stop services manually through Server Manager...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-functions-for-map-services/idi-p/941348#comments" target="_blank"&gt;ArcGIS Pro functions for map services - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 15:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1366294#M9476</guid>
      <dc:creator>bbaker_tngeo</dc:creator>
      <dc:date>2024-01-04T15:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1366325#M9477</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/629433"&gt;@bbaker_tngeo&lt;/a&gt;&amp;nbsp;it does not appear the ArcGIS Server management tools are in Pro yet. However i would not recommend this stop , rebuild and start workflow for geocoding its messy and we have had locators get corrupted on rebuild and then your service will not start.&lt;/P&gt;&lt;P&gt;This is possible using the service publication tools with the overwrite flag set to true. There is an example script here and it works for both stand alone and portal (with a few tweaks).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/creategeocodesddraft.htm" target="_blank"&gt;CreateGeocodeSDDraft—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We do this daily by scripting backup the existing locator, rebuild locator , create the sd draft and then upload to server. If the rebuild fails the service is still running.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 16:13:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1366325#M9477</guid>
      <dc:creator>RonnieRichards</dc:creator>
      <dc:date>2024-01-04T16:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create Geocode SD Draft error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1367356#M9489</link>
      <description>&lt;P&gt;That's the conclusion I arrived at as well. Initially, this was not possible because the locator I was working with was in a folder registered with the server so (I think) that's why it had to be stopped before it could be rebuilt.&amp;nbsp; Now the locator is in a local folder and can utilize the SDDraft replacement workflow. I had not included a backup step in the script, however, so thanks for that insight. It is definitely a good precaution.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 14:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-geocode-sd-draft-error/m-p/1367356#M9489</guid>
      <dc:creator>bbaker_tngeo</dc:creator>
      <dc:date>2024-01-08T14:53:57Z</dc:date>
    </item>
  </channel>
</rss>

