Today I have the same problem as you. The feature classes are in an enterprise GDB (PostgreSQL 9.4). I enabled GlobalID, editor tracking and versioning (the data is not archived). I also have related attachments. I published the service with synchronization option on the portal 10.7.1. I had no problem. The service worked. I had to stop the service to disable versioning. When I wanted to restart the service, I received the same error message. However, when I reactivate versioning, I can restart the service. I think there is a relationship between the synchronization option on the service and the versioning of the feature class. It is just a guess. I need to discuss this problem with ESRI support to understand and find a solution. On your side, have you found a solution?
... View more