Seaquel
SQL Server error code

SQL Server error 167

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

Cannot create %S_MSG on a temporary object.
Msg167
Severity15
Group0–999

Source: Database Engine events and errors