if (!data.name) {
            return Promise.reject(new errors.ValidationError({message: tpl(messages.noNameProvided)}));
        }