Bug ID Number |
BUG-000158771 |
Submitted | June 2, 2023 |
Last Modified | August 7, 2024 |
Applies to | ArcGIS GIS Server |
Version found | 10.9.1 |
Operating System | Windows Server |
Operating System Version | 2016 64 Bit |
Status | Non-Reproducible
This issue was not reproducible when tested by the development team. Issues may be given this status when they cannot be reproduced or are no longer relevant in a development version of the software, but a specific fix was not installed to address the issue. The issue's Additional Information section may contain further explanation.
|
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