{"record":{"id":"db126cb83bb85f90","repo":"goharbor/harbor","slug":"missing-report-json-data","errorCode":null,"errorMessage":"missing report JSON data","messagePattern":"missing report JSON data","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/pkg/scan/report/manager.go","lineNumber":194,"sourceCode":"\t\tkws[\"mime_type__in\"] = mimeTypes\n\t}\n\t// Query all\n\tquery := &q.Query{\n\t\tPageNumber: 0,\n\t\tKeywords:   kws,\n\t}\n\n\treturn bm.dao.List(ctx, query)\n}\n\n// UpdateReportData ...\nfunc (bm *basicManager) UpdateReportData(ctx context.Context, uuid string, report string) error {\n\tif len(uuid) == 0 {\n\t\treturn errors.New(\"missing uuid\")\n\t}\n\n\tif len(report) == 0 {\n\t\treturn errors.New(\"missing report JSON data\")\n\t}\n\n\treturn bm.dao.UpdateReportData(ctx, uuid, report)\n}\n\n// DeleteByDigests ...\nfunc (bm *basicManager) DeleteByDigests(ctx context.Context, digests ...string) error {\n\tif len(digests) == 0 {\n\t\t// Nothing to do\n\t\treturn nil\n\t}\n\n\t// delete the vulnerability records to the report UUID mapping for the digests\n\t// provided\n\t_, err := bm.vulnDao.DeleteForDigests(ctx, digests...)\n\n\tif err != nil {\n\t\treturn err","sourceCodeStart":176,"sourceCodeEnd":212,"githubUrl":"https://github.com/goharbor/harbor/blob/7b2fd08cc568955cca339afeefab27372840d936/src/pkg/scan/report/manager.go#L176-L212","documentation":"Error \"missing report JSON data\" thrown in goharbor/harbor.","triggerScenarios":"Thrown at src/pkg/scan/report/manager.go:194 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"}