{"record":{"id":"3ede3b8b960cc058","repo":"AlistGo/alist","slug":"up-status-d-error-s-3ede3b","errorCode":null,"errorMessage":"up status: %d, error: %s","messagePattern":"up status: (.+?), error: (.+?)","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/quark_uc/util.go","lineNumber":358,"sourceCode":"\t//}\n\tu := fmt.Sprintf(\"https://%s.%s/%s\", pre.Data.Bucket, pre.Data.UploadUrl[7:], pre.Data.ObjKey)\n\tres, err := base.RestyClient.R().SetContext(ctx).\n\t\tSetHeaders(map[string]string{\n\t\t\t\"Authorization\":    resp.Data.AuthKey,\n\t\t\t\"Content-Type\":     mineType,\n\t\t\t\"Referer\":          \"https://pan.quark.cn/\",\n\t\t\t\"x-oss-date\":       timeStr,\n\t\t\t\"x-oss-user-agent\": \"aliyun-sdk-js/6.6.1 Chrome 98.0.4758.80 on Windows 10 64-bit\",\n\t\t}).\n\t\tSetQueryParams(map[string]string{\n\t\t\t\"partNumber\": strconv.Itoa(partNumber),\n\t\t\t\"uploadId\":   pre.Data.UploadId,\n\t\t}).SetBody(bytes).Put(u)\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\tif res.StatusCode() != 200 {\n\t\treturn \"\", fmt.Errorf(\"up status: %d, error: %s\", res.StatusCode(), res.String())\n\t}\n\treturn res.Header().Get(\"Etag\"), nil\n}\n\nfunc (d *QuarkOrUC) upCommit(pre UpPreResp, md5s []string) error {\n\ttimeStr := time.Now().UTC().Format(http.TimeFormat)\n\tlog.Debugf(\"md5s: %+v\", md5s)\n\tbodyBuilder := strings.Builder{}\n\tbodyBuilder.WriteString(`<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<CompleteMultipartUpload>\n`)\n\tfor i, m := range md5s {\n\t\tbodyBuilder.WriteString(fmt.Sprintf(`<Part>\n<PartNumber>%d</PartNumber>\n<ETag>%s</ETag>\n</Part>\n`, i+1, m))\n\t}","sourceCodeStart":340,"sourceCodeEnd":376,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/quark_uc/util.go#L340-L376","documentation":"Error \"up status: %d, error: %s\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/quark_uc/util.go:358 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-15T22:17:37.221Z"}