goharbor/harbor · error

exceeded 1024TB, which is 1125899906842624 Bytes, value=%v

Error message

exceeded 1024TB, which is 1125899906842624 Bytes, value=%v

What it means

Error "exceeded 1024TB, which is 1125899906842624 Bytes, value=%v" thrown in goharbor/harbor.

Source

Thrown at src/lib/quota_storage_limit.go:31

// limitations under the License.

package lib

import (
	"fmt"

	"github.com/goharbor/harbor/src/pkg/quota/types"
)

func ValidateQuotaLimit(storageLimit int64) error {
	if storageLimit <= 0 {
		if storageLimit != types.UNLIMITED {
			return fmt.Errorf("invalid non-positive value for quota limit, value=%v", storageLimit)
		}
	} else {
		// storageLimit > 0, there is a max capacity of limited storage
		if uint64(storageLimit) > types.MaxLimitedValue {
			return fmt.Errorf("exceeded 1024TB, which is 1125899906842624 Bytes, value=%v", storageLimit)
		}
	}
	return nil
}

View on GitHub (pinned to 7b2fd08cc5)

When it happens

Trigger: Thrown at src/lib/quota_storage_limit.go:31 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/25889bb60249bb51. Report an issue: GitHub.