added contentId on valid attachment parameters