Fix connector Id validation in TriggerMessage handling