goharbor/harbor · error

enqueue timestamp missing for scheduled job

Error message

enqueue timestamp missing for scheduled job

What it means

Error "enqueue timestamp missing for scheduled job" thrown in goharbor/harbor.

Source

Thrown at src/jobservice/job/models.go:152

		st.Info.JobKind != KindPeriodic &&
		st.Info.JobKind != KindScheduled {
		return errors.Errorf("job kind is not supported: %s", st.Info.JobKind)
	}

	status := Status(st.Info.Status)
	if err := status.Validate(); err != nil {
		return err
	}

	if st.Info.JobKind == KindPeriodic {
		if utils.IsEmptyStr(st.Info.CronSpec) {
			return errors.New("missing cron spec for periodic job")
		}
	}

	if st.Info.JobKind == KindScheduled {
		if st.Info.RunAt == 0 {
			return errors.New("enqueue timestamp missing for scheduled job")
		}
	}

	return nil
}

// Config job service config
type Config struct {
	RedisPoolConfig *config.RedisPoolConfig `json:"redis_pool_config"`
}

View on GitHub (pinned to 7b2fd08cc5)

When it happens

Trigger: Thrown at src/jobservice/job/models.go:152 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of goharbor/harbor@7b2fd08cc5 (2026-08-16). Data as JSON: /api/errors/cacfff28a6e8cce8. Report an issue: GitHub.