Hello, Thank you for your suggestion.
After unpublishng the menu item with ID 364, the cleanup function started working correctly, so this indeed resolved the 404 issue.
However, I originally intended to use this menu item for website administration purposes and would prefer to keep it for managing the site, without having to set it as Public.
Is there a way to allow the cleanup action to work while keeping this menu item restricted e.g. for administrators only?
Thank you for your advice. See Attached.