Seaquel
SQL Server error code

SQL Server error 6807

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

Undeclared parent tag ID %d is used in a FOR XML EXPLICIT query.
Msg6807
Severity16
Group6000–6999

Source: Database Engine events and errors