ENTITY_IS_DELETED
The operation targets a record that has been deleted.
Common causes
- The record was deleted between being queried and being updated.
- An integration holds a stale ID.
- The record’s parent was deleted, which removed the child through cascade delete.
- A merge removed the losing record.
How to fix
- Check the Recycle Bin and restore the record if it was deleted by mistake.
- In Apex, confirm deletion with a query using
ALL ROWSandIsDeleted = true. - Refresh the integration’s stored IDs. After a merge, use the surviving record’s ID.