HUE-1214 improve error reporting for delete