Illegal reference in query. (Error 3451)

This error occurs when parameters are defined with unrecognized data types.