diff --git a/packages/contentstack-variants/src/import/experiences.ts b/packages/contentstack-variants/src/import/experiences.ts index 2021f5179b..763c0f929d 100644 --- a/packages/contentstack-variants/src/import/experiences.ts +++ b/packages/contentstack-variants/src/import/experiences.ts @@ -162,7 +162,7 @@ export default class Experiences extends PersonalizationAdapter { * function import experience versions from a JSON file and creates them in the project. */ async importExperienceVersions(experience: ExperienceStruct, oldExperienceUid: string) { - const versionsPath = resolve(sanitizePath(this.experiencesDirPath), 'versions', `${oldExperienceUid}.json`); + const versionsPath = resolve(sanitizePath(this.experiencesDirPath), 'versions', `${sanitizePath(oldExperienceUid)}.json`); if (!existsSync(versionsPath)) { return;