Seaquel
SQL Server error code

SQL Server error 467

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

GROUP BY, HAVING, or aggregate functions are not allowed in the recursive part of a recursive common table expression '%.*ls'.
Msg467
Severity16
Group0–999

Source: Database Engine events and errors