ERROR
Attempting to delete a detached item in the My Content tab in Portal for ArcGIS returns the following error message:
Error: Unable to reach the server where the service is. Consider using calling deleteItem with options = { 'force' : true } if the server won't be available anymore.
The error occurs when Portal for ArcGIS is unable to reach the server hosting the service of the detached item. Described below are potential causes for this issue:
Instead of re-configuring the connection between Portal for ArcGIS and the server, users may opt to force delete the detached item using the deleteItem operation in the Portal REST API directories. To do so, refer to the workflow described below:
Note: Only administrators have the privileges to perform the steps below.
https://<Portal URL>/sharing/rest/content/users/<username>
https://<Portal URL>/sharing/rest/content/users/<username>/items/<itemid>/delete
Get help from ArcGIS experts
Download the Esri Support App