{"record":{"id":"5d0e811bfa414838","repo":"AlistGo/alist","slug":"query-copy-status-failed-retry-limit-reached","errorCode":null,"errorMessage":"query copy status failed: retry limit reached","messagePattern":"query copy status failed: retry limit reached","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/bitqiu/driver.go","lineNumber":685,"sourceCode":"\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\":\n\t\t\tif err := d.login(ctx); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\tdefault:\n\t\t\treturn fmt.Errorf(\"query copy status failed: %s\", resp.Message)\n\t\t}\n\t}\n\treturn fmt.Errorf(\"query copy status failed: retry limit reached\")\n}\n\nfunc (d *BitQiu) findObjectInDir(ctx context.Context, dir model.Obj, name string, isDir bool) (model.Obj, error) {\n\tobjs, err := d.List(ctx, dir, model.ListArgs{})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tfor _, obj := range objs {\n\t\tif obj.GetName() == name && obj.IsDir() == isDir {\n\t\t\treturn obj, nil\n\t\t}\n\t}\n\treturn nil, nil\n}\n\nfunc waitWithContext(ctx context.Context, d time.Duration) error {\n\ttimer := time.NewTimer(d)\n\tdefer timer.Stop()","sourceCodeStart":667,"sourceCodeEnd":703,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/bitqiu/driver.go#L667-L703","documentation":"Error \"query copy status failed: retry limit reached\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/bitqiu/driver.go:685 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"}