ipfs/kubo · error

removing pin identified by requestid=%q failed: %v

Error message

removing pin identified by requestid=%q failed: %v

What it means

'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.

Source

Thrown at core/commands/pin/remotepin.go:447

		defer cancel()

		go func() {
			errCh <- lsRemote(ctx, req, c, psCh)
		}()
		for ps := range psCh {
			rmIDs = append(rmIDs, ps.GetRequestId())
		}
		if err = <-errCh; err != nil {
			return fmt.Errorf("error while listing remote pins: %v", err)
		}

		if len(rmIDs) > 1 && !req.Options[pinForceOptionName].(bool) {
			return fmt.Errorf("multiple remote pins are matching this query, add --force to confirm the bulk removal")
		}

		for _, rmID := range rmIDs {
			if err = c.DeleteByID(ctx, rmID); err != nil {
				return fmt.Errorf("removing pin identified by requestid=%q failed: %v", rmID, err)
			}
		}
		return nil
	},
}

// remote service commands

var addRemotePinServiceCmd = &cmds.Command{
	Helptext: cmds.HelpText{
		Tagline:          "Add remote pinning service.",
		ShortDescription: "Add credentials for access to a remote pinning service.",
		LongDescription: `
Add credentials for access to a remote pinning service and store them in the
config under Pinning.RemoteServices map.

TIP:

View on GitHub (pinned to 329838acdf)

Solutions

  1. Retry the removal for the failing request id
  2. Verify the service is reachable and credentials are still valid with 'ipfs pin remote ls'
  3. If the request id no longer exists server-side, the entry may already be gone
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at core/commands/pin/remotepin.go:447 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ipfs/kubo@329838acdf (2026-09-03). Data as JSON: /api/errors/9c526e51e2670bd2. Report an issue: GitHub.