{"record":{"id":"25889bb60249bb51","repo":"goharbor/harbor","slug":"exceeded-1024tb-which-is-1125899906842624-bytes","errorCode":null,"errorMessage":"exceeded 1024TB, which is 1125899906842624 Bytes, value=%v","messagePattern":"exceeded 1024TB, which is 1125899906842624 Bytes, value=(.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/lib/quota_storage_limit.go","lineNumber":31,"sourceCode":"// limitations under the License.\n\npackage lib\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/goharbor/harbor/src/pkg/quota/types\"\n)\n\nfunc ValidateQuotaLimit(storageLimit int64) error {\n\tif storageLimit <= 0 {\n\t\tif storageLimit != types.UNLIMITED {\n\t\t\treturn fmt.Errorf(\"invalid non-positive value for quota limit, value=%v\", storageLimit)\n\t\t}\n\t} else {\n\t\t// storageLimit > 0, there is a max capacity of limited storage\n\t\tif uint64(storageLimit) > types.MaxLimitedValue {\n\t\t\treturn fmt.Errorf(\"exceeded 1024TB, which is 1125899906842624 Bytes, value=%v\", storageLimit)\n\t\t}\n\t}\n\treturn nil\n}\n","sourceCodeStart":13,"sourceCodeEnd":36,"githubUrl":"https://github.com/goharbor/harbor/blob/7b2fd08cc568955cca339afeefab27372840d936/src/lib/quota_storage_limit.go#L13-L36","documentation":"Error \"exceeded 1024TB, which is 1125899906842624 Bytes, value=%v\" thrown in goharbor/harbor.","triggerScenarios":"Thrown at src/lib/quota_storage_limit.go:31 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7b2fd08cc568955cca339afeefab27372840d936","analyzedAt":"2026-08-16T00:00:10.961Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}