001989: Service cannot be overwritten if Sync is enabled and replicas exist.

Description

This error occurs if the client attempts to overwrite a hosted feature service and the service is sync enabled and has outstanding replicas.

Solution

Either sync or unregister all outstanding replicas, or disable the sync capability.