00102: <value> does not contain a required layer type for <value>

The web layer you are sharing requires that a certain type of source layer be included. Your web layer does not include the correct type of source layer.

Web feature layers, vector tile layers, and map image layers with a WFS enabled require that a feature layer be included in the shared content. Web tile layers and map image layers require that either a feature layer or a raster layer be included in the shared content. If you overwrite a map image layer that has additional layers and capabilities, a specific layer or data source may be required.

The first <value> parameter refers to the map or layers you are sharing. The second <value> parameter refers to the type of web layer.

Note:
Existing web layers are not a valid source for sharing as web layers. The exception to this rule is that a web feature layer can be published as a hosted web layer to an ArcGIS Enterprise 10.8 portal.

Solutions

Do one of the following:

  • Add a layer of the required type to the map.
  • If you are sharing a vector tile layer, ensure that the layers in your map or selection are visible.

More information

Only local data sources are supported for sharing. Therefore, you'll get this error if you try to share an existing web layer. (If a required layer type is present in addition to the web layer, you will not get the error. Instead, you'll get a warning that a layer's data source is not supported.)

To check the source of your layer, click the List By Data Source tab List By Data Source in the Contents pane. Alternatively, right-click the layer in the Contents pane, click Properties Properties, and click the Source tab on the Layer Properties dialog box.

For more information, see Analyze your GIS resource.