Unable to delete item

Last Published: March 30, 2021

Error Message

When attempting to delete detached items from Portal for ArcGIS the following error message is returned:

Unable to delete item.
<URL> may no longer be accessible.


This issue can occur if the URLs of the items hosted in Portal for ArcGIS are no longer valid when changes are made to Portal's configuration settings, along with un-federating and re-federating the Portal environment. The hosted items may still exist in My Content, but it may no longer be accessible by Portal web maps.

Solution or Workaround

In the event the detached items cannot be deleted, or if the error occurs, the following workaround allows for manual deletion of these items:

  1. Log in to Portal for ArcGIS > My Content.
  2. Open the Item Details page for the items to be deleted
  3. Note the Item ID from the URL for the detached item(s).
The Item ID appears as a long alphanumeric code.
  1. Stop the Portal for ArcGIS service.
  2. Navigate to the portal content directory and find the item folder containing the detached item using the Item ID noted in Step 3.
The portal content directory is commonly found at:
<Portal for ArcGIS installation directory>/arcgis/portal/usr/arcgisportal/content
  1. Delete the folder containing the detached items.
  2. Restart the Portal for ArcGIS service.
  3. Log in to Portal for ArcGIS to confirm the deletion of the detached item(s).
If the problem persists, reindex Portal for ArcGIS, and delete the item. Refer to ArcGIS REST API: Reindex  for more information.

Article ID:000016345

  • Portal for ArcGIS

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options