Expecting at most %1 parameter(s) in cursor, but found %2

Error code 10014
Error constant ODBC_EXTRA_PARAMETERS
Parameter 1 The maximum number of parameter(s) expected.
Parameter 2 The number of parameter(s) found.
 Probable cause
 More information