Hi Dallin,
I had the same error as well, but I was able to overcome it by re-writing the query slightly differently.
The below worked for me, hopefully for you also.
SELECT T0.[customer]
FROM OINS T0
WHERE T0.[internalSN] = [%0]
Kind Regards,
Nick Lakasas