It turns out that I had data type error that causes that.If anyone encounter that error code make sure that the data types match the input.
data types