laptop and a wrench

Bug

Unable to upload a service definitions in an existing folder other than the root folder in ArcGIS Server from ArcGIS Pro using a Python script.

ArcGIS GIS Server
Bug ID Number BUG-000158771
SubmittedJune 2, 2023
Last ModifiedAugust 7, 2024
Applies toArcGIS GIS Server
Version found10.9.1
Operating SystemWindows Server
Operating System Version2016 64 Bit
StatusNon-Reproducible

Additional Information

When specifying parameters for the Upload Service Definition tool, ensure optional arguments are skipped by either using empty strings or using keyword arguments: https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/using-tools-in-python.htm

Workaround

Specify the folder from ArcGIS Server while publishing the service definition file from ArcGIS Pro, and change the parameter 'inFolderType = FROM_SERVICE_DEFINITION' in the Python script.

Steps to Reproduce

Bug ID: BUG-000158771

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options