goharbor/harbor · error
exceeded 1024TB, which is 1125899906842624 Bytes, value=
Error message
exceeded 1024TB, which is 1125899906842624 Bytes, value=%v
What it means
ValidateQuotaLimit accepted a positive storage limit but it exceeds MaxLimitedValue (1024TB = 1125899906842624 bytes), the hard ceiling Harbor places on limited storage quotas; the offending byte value is echoed.
Solutions
- Reduce the storage limit to at most 1024TB (1125899906842624 bytes)
- Use -1 (unlimited) if a larger allowance is intended
Defensive patterns
Strategy: validation
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.
Appendix: 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)