004170: <value> parameter is not supported for your service type.

Description

The Item ID parameter is only supported 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

Remove the item ID parameter; an ID will be automatically assigned.

See Upload Service Definition for more information.