GSuite Gmail with Blank Value for CC and BCC Error

Hi, I have a process set up where multiple workflows are getting email distribution lists from excel files. I am using the GSuite Gmail via API to send emails. In every instance there may not be a CC or BCC entry. I have found that the send will error if I have blank values for the CC or BCC fields by using the {ToCCList} and {ToBCCList} variables I am using.

Is there a way around this?

Thank you