Seaquel
SQL Server error code

SQL Server error 2371

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

%s'%ls' can only be used within a predicate or XPath selector
Msg2371
Severity16
Group2000–2999

Source: Database Engine events and errors