6365: The template could not be deleted. There are documents still attached to it.
A template can only be deleted when no documents have been assigned to it.
Try the following:
- Reassign all documents that are still attached to it to another template and then try again.