{"record":{"id":"71c5e9176011b9a7","repo":"ipfs/kubo","slug":"waiting-for-pin-interrupted-requestid-q-remains","errorCode":null,"errorMessage":"waiting for pin interrupted, requestid=%q remains on remote service","messagePattern":"waiting for pin interrupted, requestid=%q remains on remote service","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/commands/pin/remotepin.go","lineNumber":261,"sourceCode":"\t\t\t\t\treturn fmt.Errorf(\"failed to check pin status for requestid=%q, remote service sent unexpected requestid=%q\", requestID, ps.GetRequestId())\n\t\t\t\t}\n\t\t\t\ts := ps.GetStatus()\n\t\t\t\tif s == pinclient.StatusPinned {\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tif s == pinclient.StatusFailed {\n\t\t\t\t\treturn fmt.Errorf(\"remote service failed to pin requestid=%q\", requestID)\n\t\t\t\t}\n\t\t\t\tif timer == nil {\n\t\t\t\t\ttimer = time.NewTimer(pinWaitTime)\n\t\t\t\t} else {\n\t\t\t\t\ttimer.Reset(pinWaitTime)\n\t\t\t\t}\n\t\t\t\tselect {\n\t\t\t\tcase <-timer.C:\n\t\t\t\tcase <-ctx.Done():\n\t\t\t\t\ttimer.Stop()\n\t\t\t\t\treturn fmt.Errorf(\"waiting for pin interrupted, requestid=%q remains on remote service\", requestID)\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn res.Emit(toRemotePinOutput(ps, enc))\n\t},\n\tEncoders: cmds.EncoderMap{\n\t\tcmds.Text: cmds.MakeTypedEncoder(func(req *cmds.Request, w io.Writer, out *RemotePinOutput) error {\n\t\t\tprintRemotePinDetails(w, out)\n\t\t\treturn nil\n\t\t}),\n\t},\n}\n\nvar listRemotePinCmd = &cmds.Command{\n\tHelptext: cmds.HelpText{\n\t\tTagline: \"List objects pinned to remote pinning service.\",\n\t\tShortDescription: `","sourceCodeStart":243,"sourceCodeEnd":279,"githubUrl":"https://github.com/ipfs/kubo/blob/329838acdfafae224582930457efe80aa217afc0/core/commands/pin/remotepin.go#L243-L279","documentation":"The context was cancelled while 'ipfs pin remote add' was polling the remote service for completion (typically Ctrl-C or the RPC request timing out). The pin request is not cancelled on the service side; it keeps running there under the given request id.","triggerScenarios":"Thrown at core/commands/pin/remotepin.go:261 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check progress later with 'ipfs pin remote ls --requestid <id> --service <name>' or 'ipfs pin remote status'","Wait longer or use --background next time so the command returns immediately after submitting","Remove the orphaned request with 'ipfs pin remote rm --requestid <id>' if you no longer want it"],"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"}