Warn if parameter's type is not available

Hi guys, 

I made this pull request because the error message displayed when the type of the parameter is wrong is not clear enough (currently, `Validation failed: Parameters is invalid`).

Any feedbacks?

Thanks,

Pierre