goharbor/harbor · error · errors.Error
NOT_FOUND
NOT_FOUND
Error message
the asking blob is in GC, mark it as non existing, request id: %s
What it means
Error "the asking blob is in GC, mark it as non existing, request id: %s" thrown in goharbor/harbor.
Source
Thrown at src/server/middleware/blob/head_blob.go:72
return err
}
switch bb.Status {
case blob_models.StatusNone, blob_models.StatusDelete:
if err := blob.Ctl.Touch(req.Context(), bb); err != nil {
log.Errorf("failed to update blob: %s status to StatusNone, error:%v", blobInfo.Digest, err)
return errors.Wrapf(err, "the request id is: %s", req.Header.Get(requestid.HeaderXRequestID))
}
case blob_models.StatusDeleting:
now := time.Now().UTC()
// if the deleting exceed 2 hours, marks the blob as StatusDeleteFailed and gives a 404, so client can push it again
if now.Sub(bb.UpdateTime) > time.Duration(config.GetGCTimeWindow())*time.Hour {
if err := blob.Ctl.Fail(req.Context(), bb); err != nil {
log.Errorf("failed to update blob: %s status to StatusDeleteFailed, error:%v", blobInfo.Digest, err)
return errors.Wrapf(err, "the request id is: %s", req.Header.Get(requestid.HeaderXRequestID))
}
}
return errors.New(nil).WithMessagef("the asking blob is in GC, mark it as non existing, request id: %s", req.Header.Get(requestid.HeaderXRequestID)).WithCode(errors.NotFoundCode)
case blob_models.StatusDeleteFailed:
return errors.New(nil).WithMessagef("the asking blob is delete failed, mark it as non existing, request id: %s", req.Header.Get(requestid.HeaderXRequestID)).WithCode(errors.NotFoundCode)
default:
return errors.New(nil).WithMessagef("wrong blob status, %s", bb.Status)
}
return nil
}
View on GitHub (pinned to 7b2fd08cc5)
When it happens
Trigger: Thrown at src/server/middleware/blob/head_blob.go:72 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/57f36cf3fa8e49aa.
Report an issue: GitHub.