{"id":"5ba3a12f911d6e14","repo":"docker/cli","slug":"unsupported-manifest-type-t","errorCode":null,"errorMessage":"unsupported manifest type: %T","messagePattern":"unsupported manifest type: %T","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/registryclient/fetcher.go","lineNumber":183,"sourceCode":"\t\t}\n\t\tmanifest, err := manSvc.Get(ctx, manifestDescriptor.Digest)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tmanifestRef, err := reference.WithDigest(ref, manifestDescriptor.Digest)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tvar imageManifest types.ImageManifest\n\t\tswitch v := manifest.(type) {\n\t\tcase *schema2.DeserializedManifest:\n\t\t\timageManifest, err = pullManifestSchemaV2(ctx, manifestRef, repo, *v)\n\t\tcase *ocischema.DeserializedManifest:\n\t\t\timageManifest, err = pullManifestOCISchema(ctx, manifestRef, repo, *v)\n\t\tdefault:\n\t\t\terr = fmt.Errorf(\"unsupported manifest type: %T\", manifest)\n\t\t}\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\t// Replace platform from config\n\t\tp := manifestDescriptor.Platform\n\t\timageManifest.Descriptor.Platform = types.OCIPlatform(&p)\n\n\t\tinfos = append(infos, imageManifest)\n\t}\n\treturn infos, nil\n}\n\nfunc continueOnError(err error) bool {\n\tswitch v := err.(type) {\n\tcase errcode.Errors:\n\t\tif len(v) == 0 {","sourceCodeStart":165,"sourceCodeEnd":201,"githubUrl":"https://github.com/docker/cli/blob/e9452d6e785f6e365712b9d71bd7517591773c86/internal/registryclient/fetcher.go#L165-L201","documentation":"Error \"unsupported manifest type: %T\" thrown in docker/cli.","triggerScenarios":"Thrown at internal/registryclient/fetcher.go:183 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}