laptop and a wrench

Error

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
Número de ID del error BUG-000158771
EnviadoJune 2, 2023
Última modificaciónAugust 7, 2024
Relacionado conArcGIS GIS Server
Versión encontrada10.9.1
Sistema operativoWindows Server
Versión de sistema operativo2016 64 Bit
EstadoNon-Reproducible

Información adicional

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

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000158771

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga