-
diff --git a/src/portal/src/app/base/project/tag-feature-integration/tag-retention/tag-retention.component.ts b/src/portal/src/app/base/project/tag-feature-integration/tag-retention/tag-retention.component.ts
index 8c510f9c4b3f..079a2aaf5286 100644
--- a/src/portal/src/app/base/project/tag-feature-integration/tag-retention/tag-retention.component.ts
+++ b/src/portal/src/app/base/project/tag-feature-integration/tag-retention/tag-retention.component.ts
@@ -143,6 +143,10 @@ export class TagRetentionComponent implements OnInit, OnDestroy {
updateCron(cron: string) {
let retention: RetentionPolicy = clone(this.retention);
retention.trigger.settings['cron'] = cron;
+ if (retention?.trigger?.settings['next_scheduled_time']) {
+ // should not have next_scheduled_time for updating
+ delete retention?.trigger?.settings['next_scheduled_time'];
+ }
if (!this.retentionId) {
this.retentionService
.createRetention({