Seaquel
SQL Server error code

SQL Server error 407

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

Internal error. The string routine in file %hs, line %d failed with HRESULT 0x%x.
Msg407
Severity16
Group0–999

Source: Database Engine events and errors