Using contentObj.id rather than the old contentObj.contentId as the resourceId in storage options.