• It seems that you are trying to insert a string into a variable of datatype binary, which is causing the error.

    You said that your package variables are of the string datatype, so you have to do a conversion first, as it is mentioned in the error itself.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP