Validate received parameters