{"id":"c3518160b4d784d2","repo":"docker/cli","slug":"s-no-tag-or-digest","errorCode":null,"errorMessage":"%s no tag or digest","messagePattern":"(.+?) no tag or digest","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/registryclient/client.go","lineNumber":195,"sourceCode":"\tfetch := func(ctx context.Context, repo distribution.Repository, ref reference.Named) (bool, error) {\n\t\tvar err error\n\t\tresult, err = fetchList(ctx, repo, ref)\n\t\treturn len(result) > 0, err\n\t}\n\n\terr := c.iterateEndpoints(ctx, ref, fetch)\n\treturn result, err\n}\n\nfunc getManifestOptionsFromReference(ref reference.Named) (digest.Digest, []distribution.ManifestServiceOption, error) {\n\tif tagged, isTagged := ref.(reference.NamedTagged); isTagged {\n\t\ttag := tagged.Tag()\n\t\treturn \"\", []distribution.ManifestServiceOption{distribution.WithTag(tag)}, nil\n\t}\n\tif digested, isDigested := ref.(reference.Canonical); isDigested {\n\t\treturn digested.Digest(), []distribution.ManifestServiceOption{}, nil\n\t}\n\treturn \"\", nil, fmt.Errorf(\"%s no tag or digest\", ref)\n}\n","sourceCodeStart":177,"sourceCodeEnd":197,"githubUrl":"https://github.com/docker/cli/blob/e9452d6e785f6e365712b9d71bd7517591773c86/internal/registryclient/client.go#L177-L197","documentation":"Error \"%s no tag or digest\" thrown in docker/cli.","triggerScenarios":"Thrown at internal/registryclient/client.go:195 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"e9452d6e785f6e365712b9d71bd7517591773c86","analyzedAt":"2026-08-01T07:09:22.474Z","schemaVersion":2}