params error can not be empty