00297: <value> layers must be shared with everyone

You are publishing a map image layer or feature layer with an OGC layer or capability (WFS, WMS, or WCS) and are not sharing publicly. To ensure the WFS layer, WMS layer, or WCS is accessible and draws correctly, you must share it with everyone. The value parameter refers to the enabled OGC layer or capability.


  • In the Sharing pane, on the General tab, under Share with, check Everyone.

More information

A WFS or WMS layer shared with a map image layer is dependent on the map image layer. You must share both layers publicly for the WFS or WMS layer to work correctly.

A WFS layer shared with a feature layer that copies data to ArcGIS Online or ArcGIS Enterprise is not dependent on the feature layer. After you have successfully shared the layers, you can unshare the feature layer without affecting the WFS layer.

For more information, see Analyze your GIS resource.