Seaquel
SQL Server error code

SQL Server error 6851

SQL Server raises error 6851 at severity 16, which marks a problem with the query or data that you can correct.

Column '%.*ls' has invalid data type for attribute-centric XML serialization in FOR XML PATH.
Msg6851
Severity16
Group6000–6999

Source: Database Engine events and errors