Seaquel
SQL Server error code

SQL Server error 8059

SQL Server raises error 8059 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 "%.*ls", to a parameterized string has no table type defined.
Msg8059
Severity16
Group8000–8999

Source: Database Engine events and errors