I\'m getting this error from SQL Server on SSMS 17 while running a giant query:
Conversion failed when converting the ****** value \'******\' to data type
The asterisks appear when you do not have enough permissions. It seems they appear only in some scenarios (in my case, when using user-defined functions).
I don't know why, but it seems that if you GRANT UNMASK, you will see the real values.