ERROR

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:

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

Cause

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).
Note:
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.
Note:
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).
Note:
If the problem persists, reindex Portal for ArcGIS, and delete the item. Refer to ArcGIS REST API: Reindex  for more information.

Article ID:000016345

Software:
  • Portal for ArcGIS

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic