laptop and a wrench

Bug

ArcGIS Hub does not delete content, for example, uploaded images, from the Resources folder when the content is removed from the site.

Last Published: October 13, 2021 ArcGIS Hub
Bug ID Number BUG-000143507
SubmittedOctober 7, 2021
Last ModifiedMay 11, 2026
Applies toArcGIS Hub
Version foundN/A
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

Given other layout elements may contain references to the site's item resources. The image cannot be reliably deleted after removing the image card. Item resources have a very high file limit; thus, it is possible but unlikely this will limit most customers in their usage of the current layout editor.

Workaround

Query the content of the site's Resources folder using this request URL: https://www.arcgis.com/sharing/rest/content/users/<USERNAME>/items/<HUB_SITE_ITEMID>/resources?f=pjson&token=<TOKEN>

This provides a list of all resources for the site. Once the name of items to be removed is identified, send a separate request using Postman to delete the items from the Resources folder:

 

POST request URL:

  • https://www.arcgis.com/sharing/rest/content/users/<USERNAME>/items/<HUB_SITE_ITEMID>/removeResources

Body:

  • f=pjson
  • token=<TOKEN>
  • resource: <FILE_NAME (with extension)>

Steps to Reproduce

Bug ID: BUG-000143507

Software:

  • ArcGIS Hub

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options