004172: <value> parameter is not supported to ArcGIS Enterprise 10.8 and earlier.
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
Solution
Upgrade your version of ArcGIS Enterprise. Alternatively, remove the item ID parameter; an ID will be automatically assigned.