Needed to check connectSession as well - shareRequest.agent.connectSession?.userId?