00302: All fields in datasets with <value> must be visible: field <value> in layer <value> is not

You are sharing a dataset that has hidden fields. When sharing datasets that have the following geodatabase functionality enabled, all fields must be set to visible in the layer or table properties. The field and layer or table will be indicated by the <value> parameters.

Solution

Change the field properties of the layer or table referenced in the error to visible. Select the layer or table in the Contents pane. On the Feature Layer tab set, click the Data tab. If you selected a table instead, the Standalone Table contextual tab appears. In the Data Design group, click Fields. Ensure that the Visible column is enabled for all fields. On the Fields tab, in the Changes group, click Save Save.

More information

For more information, see Data design and Analyze your GIS resource.