You can't delete the resource because it is attached to one or more resources.
The message for the exception.