{"record":{"id":"9c526e51e2670bd2","repo":"ipfs/kubo","slug":"removing-pin-identified-by-requestid-q-failed-v","errorCode":null,"errorMessage":"removing pin identified by requestid=%q failed: %v","messagePattern":"removing pin identified by requestid=%q failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/commands/pin/remotepin.go","lineNumber":447,"sourceCode":"\t\tdefer cancel()\n\n\t\tgo func() {\n\t\t\terrCh <- lsRemote(ctx, req, c, psCh)\n\t\t}()\n\t\tfor ps := range psCh {\n\t\t\trmIDs = append(rmIDs, ps.GetRequestId())\n\t\t}\n\t\tif err = <-errCh; err != nil {\n\t\t\treturn fmt.Errorf(\"error while listing remote pins: %v\", err)\n\t\t}\n\n\t\tif len(rmIDs) > 1 && !req.Options[pinForceOptionName].(bool) {\n\t\t\treturn fmt.Errorf(\"multiple remote pins are matching this query, add --force to confirm the bulk removal\")\n\t\t}\n\n\t\tfor _, rmID := range rmIDs {\n\t\t\tif err = c.DeleteByID(ctx, rmID); err != nil {\n\t\t\t\treturn fmt.Errorf(\"removing pin identified by requestid=%q failed: %v\", rmID, err)\n\t\t\t}\n\t\t}\n\t\treturn nil\n\t},\n}\n\n// remote service commands\n\nvar addRemotePinServiceCmd = &cmds.Command{\n\tHelptext: cmds.HelpText{\n\t\tTagline:          \"Add remote pinning service.\",\n\t\tShortDescription: \"Add credentials for access to a remote pinning service.\",\n\t\tLongDescription: `\nAdd credentials for access to a remote pinning service and store them in the\nconfig under Pinning.RemoteServices map.\n\nTIP:\n","sourceCodeStart":429,"sourceCodeEnd":465,"githubUrl":"https://github.com/ipfs/kubo/blob/329838acdfafae224582930457efe80aa217afc0/core/commands/pin/remotepin.go#L429-L465","documentation":"'ipfs pin remote rm' failed to delete one of the matched pins on the remote service (DeleteByID returned an error); the request id and underlying error are included. Earlier removals in the loop may already have succeeded.","triggerScenarios":"Thrown at core/commands/pin/remotepin.go:447 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the removal for the failing request id","Verify the service is reachable and credentials are still valid with 'ipfs pin remote ls'","If the request id no longer exists server-side, the entry may already be gone"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"329838acdfafae224582930457efe80aa217afc0","analyzedAt":"2026-09-03T18:30:52.135Z","contentChangedAt":"2026-09-03T18:30:52.135Z","schemaVersion":2},"datasetVersion":"2026-09-11T00:17:11.886Z"}