ERROR

ArcGIS Pro: ERROR: code:400, Unable to delete item.

Last Published: January 30, 2026

Error Message

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
The Failed to publish web layer error message

Accessing the log by clicking View log displays the following error log:

Error:
ERROR: code:400, Unable to delete item. This service item has a related Service item, Bad syntax in request.
The error message ERROR: code:400, Unable to delete item. This service item has a related Service item, Bad syntax in request. in the ArcGIS Pro SharingJobLog log

Cause

The hosted feature layer has a hosted feature layer view with joins created using the Join Features tool in Map Viewer, as well as any view layers with Areas of Interest defined within them. Feature layers that include in view layers with joins cannot have their schema altered and are always read-only. Therefore, the feature layer cannot be overwritten.

Solution or Workaround

Before overwriting the ArcGIS Online hosted feature layer in ArcGIS Pro, delete the hosted feature layer view created from the Join Features tool. Refer to ArcGIS Online: Delete a single item for instructions to delete the hosted feature layer view.

The Delete Item on the hosted feature layer view Settings page

Article ID: 000031972

Software:
  • ArcGIS Pro
  • ArcGIS Online

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options