ERROR
When attempting to overwrite an ArcGIS Online hosted feature layer in ArcGIS Pro, the following error message is returned:
Error: Failed to publish web layer
Accessing the View log shows the following error:
Error: ERROR: code:400, Unable to delete item <Item ID>. Delete protection is turned on., Bad syntax in request.
The hosted feature layer has the delete protection setting enabled.
Before overwriting the ArcGIS Online hosted feature layer in ArcGIS Pro, disable the delete protection setting.
Get help from ArcGIS experts
Download the Esri Support App