AlistGo/alist · error

copy failed: retry limit reached

Error message

copy failed: retry limit reached

What it means

Error "copy failed: retry limit reached" thrown in AlistGo/alist.

Source

Thrown at drivers/bitqiu/driver.go:372

	for attempt := 0; attempt < 2; attempt++ {
		var resp Response[any]
		if err := d.postForm(ctx, copyResourceURL, form, &resp); err != nil {
			return nil, err
		}
		switch resp.Code {
		case successCode, copySubmittedCode:
			return d.waitForCopiedObject(ctx, srcObj, dstDir)
		case "10401", "10404":
			if err := d.login(ctx); err != nil {
				return nil, err
			}
		default:
			return nil, fmt.Errorf("copy failed: %s", resp.Message)
		}
	}

	return nil, fmt.Errorf("copy failed: retry limit reached")
}

func (d *BitQiu) Remove(ctx context.Context, obj model.Obj) error {
	if d.userID == "" {
		if err := d.login(ctx); err != nil {
			return err
		}
	}

	form := map[string]string{
		"dirIds":      "",
		"fileIds":     "",
		"org_channel": orgChannel,
	}
	if obj.IsDir() {
		form["dirIds"] = obj.GetID()
	} else {
		form["fileIds"] = obj.GetID()

View on GitHub (pinned to 843d9dc814)

Solutions

  1. The operation kept failing through all retries; check the account status, network, and provider service health, then try again later.

When it happens

Trigger: Thrown at drivers/bitqiu/driver.go:372 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of AlistGo/alist@843d9dc814 (2026-08-15). Data as JSON: /api/errors/fab45d45a3b50ec1. Report an issue: GitHub.