The layer you are publishing is not configured for or cannot be used with the Sync capability.
Solution
- If you do not need the layer, remove it from your document.
- If the users of this service will not be using Sync, disable the Sync capability by navigating to the Feature Access tab of the Service Editor dialog box and unchecking the capability.
- If the users of this service will be using Sync, and you need this layer in your service, you will need to configure your data for Sync. All layers must be either versioned and contain a Global ID field or all nonversioned, archive enabled, and contain a Global ID field. If the layer participates in a relationship class or has attachments, the layer and related table or attachment must be related using a Global ID field as the primary key. You can use the Migrate Relationship Class geoprocessing tool to convert ObjectID-based relationship classes and attachments to use Global ID fields as the primary key.
More information
Feature services include a Sync capability that allows clients to make edits locally and synchronize the edits with the feature service. Edits to the local copy can be made when offline, whereas network connectivity is required to synchronize. In order for the Sync capability to be enabled, the data in the service must be able to support Sync. The following provides information about configuring your data for Sync.
Learn more about preparing your data to support the Sync capability