Fix for issue 1652

This is a simple syntax change to the error message to reflect the correct param that must be passed.