{"record":{"id":"ec4fdb521c4ef530","repo":"AlistGo/alist","slug":"no-link-found","errorCode":null,"errorMessage":"no link found","messagePattern":"no link found","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/quark_uc/util.go","lineNumber":273,"sourceCode":"\t_, err := d.request(\"/file/v2/play/project\", http.MethodPost, func(req *resty.Request) {\n\t\treq.SetHeader(\"User-Agent\", ua).\n\t\t\tSetBody(data)\n\t}, &resp)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tfor _, info := range resp.Data.VideoList {\n\t\tif info.VideoInfo.URL != \"\" {\n\t\t\tlink := &model.Link{\n\t\t\t\tURL: info.VideoInfo.URL,\n\t\t\t}\n\t\t\td.applyLinkLimit(link)\n\t\t\treturn link, nil\n\t\t}\n\t}\n\n\treturn nil, errors.New(\"no link found\")\n}\n\nfunc (d *QuarkOrUC) upPre(file model.FileStreamer, parentId string) (UpPreResp, error) {\n\tnow := time.Now()\n\tdata := base.Json{\n\t\t\"ccp_hash_update\": true,\n\t\t\"dir_name\":        \"\",\n\t\t\"file_name\":       file.GetName(),\n\t\t\"format_type\":     file.GetMimetype(),\n\t\t\"l_created_at\":    now.UnixMilli(),\n\t\t\"l_updated_at\":    now.UnixMilli(),\n\t\t\"pdir_fid\":        parentId,\n\t\t\"size\":            file.GetSize(),\n\t\t//\"same_path_reuse\": true,\n\t}\n\tvar resp UpPreResp\n\t_, err := d.request(\"/file/upload/pre\", http.MethodPost, func(req *resty.Request) {\n\t\treq.SetBody(data)","sourceCodeStart":255,"sourceCodeEnd":291,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/quark_uc/util.go#L255-L291","documentation":"Error \"no link found\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/quark_uc/util.go:273 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the referenced file/path/ID exists and is correct, then retry the operation."],"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"}