Seaquel
SQL Server error code

SQL Server error 6986

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

Invalid restriction for type '%s'. The effective total range of the model group in the restricted type must be a valid restriction of the occurrence range of the wildcard in the base type.
Msg6986
Severity16
Group6000–6999

Source: Database Engine events and errors