Description
You are uploading a service definition to ArcGIS Enterprise 10.8 and earlier. You can only specify item IDs when sharing the following types of layers to the corresponding ArcGIS Enterprise versions:
- Web feature layer that copies all data—ArcGIS Enterprise 10.8.1 or later
 - Web tile layer—ArcGIS Enterprise 10.8.1 or later
 - Map image layer—ArcGIS Enterprise 11.2 or later
 - Web feature layer that references registered data—ArcGIS Enterprise 11.2 or later
 - OGC feature layer—ArcGIS Enterprise 11.2 or later
 - WMS service layer—ArcGIS Enterprise 11.2 or later
 - WFS service layer—ArcGIS Enterprise 11.2 or later
 
The first <value> parameter refers to Item ID.
Note:
You may encounter this geoprocessing error when running the Upload Service Definition tool in Python; it does not appear when using the Geoprocessing pane.
Solution
Upgrade your version of ArcGIS Enterprise. Alternatively, remove the item ID parameter; an ID will be automatically assigned.
See Upload Service Definition for more information.