Format string argument number %1 is invalid

Item Value
SQLCODE -294
Constant SQLE_INVALID_FORMAT_STRING_ARG_NUM
SQLSTATE 53W08
Sybase error code 2749
ODBC 2 State 37000
ODBC 3 State 42000
Parameter 1 Argument number.

Probable cause 

You supplied an invalid argument number in the format string for a PRINT or RAISERROR statement. The number must be between 1 and 20 and must not exceed the number of arguments provided.