Seaquel
SQL Server error code

SQL Server error 8058

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

The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Table-valued parameter %d, to a parameterized string has no table type defined.
Msg8058
Severity16
Group8000–8999

Source: Database Engine events and errors