setData params validation