This error indicates that there is an issue in the data returned by the data query step. please log a new case online and reference this article.
Task is failing on the Data Query step with the error "Invalid length parameter passed to the LEFT or SUBSTRING function."
Updated this week