{"record":{"id":"154ef860a8484c2d","repo":"AlistGo/alist","slug":"copy-task-timed-out-waiting-for-completion","errorCode":null,"errorMessage":"copy task timed out waiting for completion","messagePattern":"copy task timed out waiting for completion","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/bitqiu/driver.go","lineNumber":659,"sourceCode":"\t\t}\n\n\t\tif err := d.checkCopyFailure(ctx); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tobj, err := d.findObjectInDir(ctx, dstDir, expectedName, expectedIsDir)\n\t\tif err != nil {\n\t\t\tlastListErr = err\n\t\t\tcontinue\n\t\t}\n\t\tif obj != nil {\n\t\t\treturn obj, nil\n\t\t}\n\t}\n\tif lastListErr != nil {\n\t\treturn nil, lastListErr\n\t}\n\treturn nil, fmt.Errorf(\"copy task timed out waiting for completion\")\n}\n\nfunc (d *BitQiu) checkCopyFailure(ctx context.Context) error {\n\tform := map[string]string{\n\t\t\"org_channel\": orgChannel,\n\t}\n\tfor attempt := 0; attempt < 2; attempt++ {\n\t\tvar resp Response[AsyncManagerData]\n\t\tif err := d.postForm(ctx, copyManagerURL, form, &resp); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tswitch resp.Code {\n\t\tcase successCode:\n\t\t\tif len(resp.Data.FailTasks) > 0 {\n\t\t\t\treturn fmt.Errorf(\"copy failed: %s\", resp.Data.FailTasks[0].ErrorMessage())\n\t\t\t}\n\t\t\treturn nil\n\t\tcase \"10401\", \"10404\":","sourceCodeStart":641,"sourceCodeEnd":677,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/bitqiu/driver.go#L641-L677","documentation":"Error \"copy task timed out waiting for completion\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/bitqiu/driver.go:659 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the operation; if it persists, check network connectivity and the provider's service status, or increase the timeout."],"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"}