Trying to tidy up old / absent devices in PM, had hoped to use DA/scripts/remove_not_present_items.sh, but this depends on REST call /rest/retired which always fails HTTP 413 (21.2.6 system). A filtered REST call to DA/rest/devices/filtered searching for Lifecycle.State Retired finds devices - all deleted now - so now returns zero devices. But /rest/retired *still* fails 413.
Have already increased com.ca.im.item.ws.impl.AutomaticWebServiceManagerImpl.cfg to increase the limit, BUT karaf.log show an estimated count of 126M after the HTTP 413 error.
Q: what else might be in state Retired that is causing the query to return so many items, please?