ERROR
When attempting to use ArcMap to overwrite a feature service that is published to ArcGIS Online (Hosted Service), the following error message is returned:
Error: Unable to overwrite service - Problem retrieving configuration from the server.
The service selected for overwriting does not have an accompanying service definition present in My Content.
This is expected behavior. When selecting a specific service for overwriting after the list of services available is populated, the error message displays to notify users that the service definition file of the service selected is missing.
Hosted layers have dependencies on the items from which they are created. For example, for a hosted feature layer published from ArcGIS Desktop, a service definition file is created and added to My Content. The service definition file should not be deleted until the hosted feature layer is deleted first. Attempting this action results in the following warning:
Notice: This item has been used to publish the following layer: Buildings_3D, Feature Layer If you delete this item, some items that depend on the source item may no longer work as expected. Are you sure you want to delete this item?
In the event of a missing or deleted service definition file for the service to be overwritten, the service must be published again, as follows:
Get help from ArcGIS experts
Download the Esri Support App