{"record":{"id":"fab45d45a3b50ec1","repo":"AlistGo/alist","slug":"copy-failed-retry-limit-reached","errorCode":null,"errorMessage":"copy failed: retry limit reached","messagePattern":"copy failed: retry limit reached","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/bitqiu/driver.go","lineNumber":372,"sourceCode":"\n\tfor attempt := 0; attempt < 2; attempt++ {\n\t\tvar resp Response[any]\n\t\tif err := d.postForm(ctx, copyResourceURL, form, &resp); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tswitch resp.Code {\n\t\tcase successCode, copySubmittedCode:\n\t\t\treturn d.waitForCopiedObject(ctx, srcObj, dstDir)\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(\"copy failed: %s\", resp.Message)\n\t\t}\n\t}\n\n\treturn nil, fmt.Errorf(\"copy failed: retry limit reached\")\n}\n\nfunc (d *BitQiu) Remove(ctx context.Context, obj model.Obj) error {\n\tif d.userID == \"\" {\n\t\tif err := d.login(ctx); err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\n\tform := map[string]string{\n\t\t\"dirIds\":      \"\",\n\t\t\"fileIds\":     \"\",\n\t\t\"org_channel\": orgChannel,\n\t}\n\tif obj.IsDir() {\n\t\tform[\"dirIds\"] = obj.GetID()\n\t} else {\n\t\tform[\"fileIds\"] = obj.GetID()","sourceCodeStart":354,"sourceCodeEnd":390,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/bitqiu/driver.go#L354-L390","documentation":"Error \"copy failed: retry limit reached\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/bitqiu/driver.go:372 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-15T22:17:37.221Z"}