No, you should just check what the string is that you pass to the Prepare statement. That’s probably wrong.
I found the problem
passing Text datatype to BindType not working
but passing String data type to BindType works
Is this documented anywhere?