{"record":{"id":"a0562e263bac8bef","repo":"thanos-io/thanos","slug":"no-such-issue-id-s","errorCode":null,"errorMessage":"no such issue ID %s","messagePattern":"no such issue ID (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/verifier/verify.go","lineNumber":110,"sourceCode":"\t\tif !repair {\n\t\t\tfor _, v := range r.Verifiers {\n\t\t\t\tif v.IssueID() != id {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\tn.Verifiers = append(n.Verifiers, v)\n\t\t\t\tcontinue idLoop\n\n\t\t\t}\n\t\t}\n\n\t\tfor _, vr := range r.VerifierRepairers {\n\t\t\tif vr.IssueID() != id {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tn.VerifierRepairers = append(n.VerifierRepairers, vr)\n\t\t\tcontinue idLoop\n\t\t}\n\t\treturn n, errors.Errorf(\"no such issue ID %s\", id)\n\t}\n\treturn n, nil\n}\n\n// New returns verifier's manager.\nfunc NewManager(reg prometheus.Registerer, logger log.Logger, bkt, backupBkt objstore.Bucket, fetcher block.MetadataFetcher, deleteDelay time.Duration, vs Registry) *Manager {\n\treturn &Manager{\n\t\tContext: Context{\n\t\t\tLogger:      logger,\n\t\t\tBkt:         bkt,\n\t\t\tBackupBkt:   backupBkt,\n\t\t\tFetcher:     fetcher,\n\t\t\tDeleteDelay: deleteDelay,\n\n\t\t\tmetrics: newVerifierMetrics(reg),\n\t\t},\n\t\tvs: vs,\n\t}","sourceCodeStart":92,"sourceCodeEnd":128,"githubUrl":"https://github.com/thanos-io/thanos/blob/35b8b991177def87ed52dcf10f9b6d87f07282c8/pkg/verifier/verify.go#L92-L128","documentation":"SubstractByIDs filters the manager's verifier/verifierRepairer set down to those whose IssueID matches the provided --id values. If any requested ID does not match a registered issue, it returns this error, preventing a silent no-op run.","triggerScenarios":"Running thanos verify --id=<ULID-or-name> where the given ID is not among the registered Verifiers/VerifierRepairers' IssueIDs (typo, wrong ULID, verifier not compiled/registered).","commonSituations":"Typo or stale block ID from an old run; using a block ULID instead of an issue ID (e.g. \"duplicated-block\" or \"index-\"); running a build that lacks certain verifiers.","solutions":["List registered issue IDs (run verify without --id, check VerifiersIDs/VerifierRepairersIDs output) and use an exact match","Correct typos in --id values","Confirm the issue ID is supported by your Thanos version"],"exampleFix":"// before\nthanos verify --id=01ARZ3NDEKTSV4RRFFQ69G5FAV\n// after\nthanos verify --id=index-\n// or verify the ID exists in m.vs before subtracting","handlingStrategy":"validation","validationCode":"ids := registry.VerifiersIDs()\nids = append(ids, registry.VerifierRepairersIDs()...)\nfor _, want := range requestedIDs {\n\tif !slices.Contains(ids, want) { return fmt.Errorf(\"unknown issue id %q; valid: %v\", want, ids) }\n}","typeGuard":null,"tryCatchPattern":"if err := manager.SubstractByIDs(requested); err != nil {\n\t// fall back to all registered issues or print valid IDs\n}","preventionTips":["List valid issue IDs before passing --id","Don't pass block ULIDs where issue IDs are expected","Check supported issues for your Thanos version"],"tags":["cli","issue-id","thanos"],"backgroundTag":"invalid-argument-value","analyzedSha":"35b8b991177def87ed52dcf10f9b6d87f07282c8","analyzedAt":"2026-09-07T01:49:59.689Z","contentChangedAt":"2026-09-07T01:49:59.689Z","schemaVersion":2},"datasetVersion":"2026-09-15T23:17:13.987Z"}