{"id":"a13f7edfa5fd11d5","repo":"docker/cli","slug":"error-no-such-object-s","errorCode":null,"errorMessage":"error: no such object: %s","messagePattern":"error: no such object: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/command/system/inspect.go","lineNumber":281,"sourceCode":"\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif isSwarmSupported == swarmUnsupported {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t}\n\t\t\tv, raw, err := inspectData.objectInspector(ref)\n\t\t\tif err != nil {\n\t\t\t\tif typeConstraint == \"\" && isErrSkippable(err) {\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\t\treturn v, raw, err\n\t\t\t}\n\t\t\tif getSize && !inspectData.isSizeSupported {\n\t\t\t\t_, _ = fmt.Fprintln(dockerCLI.Err(), \"WARNING: --size ignored for\", inspectData.objectType)\n\t\t\t}\n\t\t\treturn v, raw, err\n\t\t}\n\t\treturn nil, nil, fmt.Errorf(\"error: no such object: %s\", ref)\n\t}\n}\n\nfunc isErrSkippable(err error) bool {\n\treturn errdefs.IsNotFound(err) ||\n\t\tstrings.Contains(err.Error(), \"not supported\") ||\n\t\tstrings.Contains(err.Error(), \"invalid reference format\")\n}\n","sourceCodeStart":263,"sourceCodeEnd":290,"githubUrl":"https://github.com/docker/cli/blob/e9452d6e785f6e365712b9d71bd7517591773c86/cli/command/system/inspect.go#L263-L290","documentation":"Error \"error: no such object: %s\" thrown in docker/cli.","triggerScenarios":"Thrown at cli/command/system/inspect.go:281 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}