Seaquel
SQL Server error code

SQL Server error 6366

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

Invalid type for element '%s'. SQL Server does not permit the built-in XML Schema types 'ID' and 'IDREF' or types derived from them to be used as the type of an element. %S_MSG %s
Msg6366
Severity16
Group6000–6999

Source: Database Engine events and errors