The script '%1' references authentication parameter %2 but there are only %3

Error code –10242
Error constant INVALID_AUTH_PARM_NUMBER
Parameter 1 Name of script.
Parameter 2 Number of parameter.
Parameter 3 Number of parameters.
Probable cause

The script contains a reference to an authentication parameter which does not exist.