{"record":{"id":"2d6e05001b55d28f","repo":"AlistGo/alist","slug":"rename-failed-retry-limit-reached","errorCode":null,"errorMessage":"rename failed: retry limit reached","messagePattern":"rename failed: retry limit reached","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/bitqiu/driver.go","lineNumber":332,"sourceCode":"\t}\n\n\tfor attempt := 0; attempt < 2; attempt++ {\n\t\tvar resp Response[any]\n\t\tif err := d.postForm(ctx, renameResourceURL, form, &resp); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tswitch resp.Code {\n\t\tcase successCode:\n\t\t\treturn updateObjectName(srcObj, newName), nil\n\t\tcase \"10401\", \"10404\":\n\t\t\tif err := d.login(ctx); err != nil {\n\t\t\t\treturn nil, err\n\t\t\t}\n\t\tdefault:\n\t\t\treturn nil, fmt.Errorf(\"rename failed: %s\", resp.Message)\n\t\t}\n\t}\n\treturn nil, fmt.Errorf(\"rename failed: retry limit reached\")\n}\n\nfunc (d *BitQiu) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) {\n\tif d.userID == \"\" {\n\t\tif err := d.login(ctx); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n\n\ttargetParentID := d.resolveParentID(dstDir)\n\tform := map[string]string{\n\t\t\"dirIds\":      \"\",\n\t\t\"fileIds\":     \"\",\n\t\t\"parentId\":    targetParentID,\n\t\t\"org_channel\": orgChannel,\n\t}\n\tif srcObj.IsDir() {\n\t\tform[\"dirIds\"] = srcObj.GetID()","sourceCodeStart":314,"sourceCodeEnd":350,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/bitqiu/driver.go#L314-L350","documentation":"Error \"rename failed: retry limit reached\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/bitqiu/driver.go:332 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["The operation kept failing through all retries; check the account status, network, and provider service health, then try again later."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"843d9dc8149126976b2625911e45a4d3ffd6f2f5","analyzedAt":"2026-08-15T12:14:11.722Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}