The solution has to do with the data format, like everyone said. The column is nvarchar and don't know exactly what data format was the string that I was trying to insert, but it had 1 or more unknown characters sometimes. To solve this, just added N prefix while doing INSERT in the table, like this: