diff --git a/packages/core/strapi/lib/services/entity-service/index.js b/packages/core/strapi/lib/services/entity-service/index.js index f89b4b1974..d001aca933 100644 --- a/packages/core/strapi/lib/services/entity-service/index.js +++ b/packages/core/strapi/lib/services/entity-service/index.js @@ -283,10 +283,8 @@ const createDefaultImplementation = ({ strapi, db, eventHub, entityValidator }) const validData = await entityValidator.validateEntityUpdate( model, - data, - { - isDraft, - }, + _.omit('id', data), // Omit the id, the cloned entity id will be generated by the database + { isDraft }, entityToClone ); const query = transformParamsToQuery(uid, pickSelectionParams(wrappedParams));