{"record":{"id":"b50d55a8e7f78aa4","repo":"AlistGo/alist","slug":"copy-failed-s","errorCode":null,"errorMessage":"copy failed: %s","messagePattern":"copy failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/bitqiu/driver.go","lineNumber":368,"sourceCode":"\t\tform[\"dirIds\"] = srcObj.GetID()\n\t} else {\n\t\tform[\"fileIds\"] = srcObj.GetID()\n\t}\n\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}","sourceCodeStart":350,"sourceCodeEnd":386,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/bitqiu/driver.go#L350-L386","documentation":"Error \"copy failed: %s\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/bitqiu/driver.go:368 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying error details in the message, fix the indicated cause (credentials, network, or provider-side failure), and retry."],"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"}