Ensure objects referenced in data exist, and return appropriate errors if not.
Ensure objects referenced in data exist, and return appropriate errors if not.