Attachment must be linked to a valid object.