Seaquel
SQL Server error code

SQL Server error 6629

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

The result of the column expression for column "%ls" is not compatible with the requested type "XML". The result must be an element, text node, comment node, processing instruction, or document node.
Msg6629
Severity16
Group6000–6999

Source: Database Engine events and errors