Service / Knowledge
Non-informative Salesforce Error when deleting Knowledge Articles or related records
Summary
Deleting more than one record that is linked to knowledge articles where the lookup option is set to "Don’t allow deletion of the lookup record that’s part of a lookup relationship" throws Internal Salesforce.com error in Apex.
OR
The error when deleting knowledge record from UI present as a lookup on a custom object shows as "Error Draft of wasn't deleted. Try again." whereas when we check same error on case or other object's it comes as "Your attempt to delete 00005363 could not be completed because it is associated with the following related records: Test" which is much clear and informative. Error handling variation is present for knowledge object.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Closed with 5 reports
Nov 30, 2026