AlistGo/alist · error
no link found
Error message
no link found
What it means
Error "no link found" thrown in AlistGo/alist.
Source
Thrown at drivers/quark_uc/util.go:273
_, err := d.request("/file/v2/play/project", http.MethodPost, func(req *resty.Request) {
req.SetHeader("User-Agent", ua).
SetBody(data)
}, &resp)
if err != nil {
return nil, err
}
for _, info := range resp.Data.VideoList {
if info.VideoInfo.URL != "" {
link := &model.Link{
URL: info.VideoInfo.URL,
}
d.applyLinkLimit(link)
return link, nil
}
}
return nil, errors.New("no link found")
}
func (d *QuarkOrUC) upPre(file model.FileStreamer, parentId string) (UpPreResp, error) {
now := time.Now()
data := base.Json{
"ccp_hash_update": true,
"dir_name": "",
"file_name": file.GetName(),
"format_type": file.GetMimetype(),
"l_created_at": now.UnixMilli(),
"l_updated_at": now.UnixMilli(),
"pdir_fid": parentId,
"size": file.GetSize(),
//"same_path_reuse": true,
}
var resp UpPreResp
_, err := d.request("/file/upload/pre", http.MethodPost, func(req *resty.Request) {
req.SetBody(data)View on GitHub (pinned to 843d9dc814)
Solutions
- Verify the referenced file/path/ID exists and is correct, then retry the operation.
When it happens
Trigger: Thrown at drivers/quark_uc/util.go:273 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of AlistGo/alist@843d9dc814 (2026-08-15).
Data as JSON: /api/errors/ec4fdb521c4ef530.
Report an issue: GitHub.