AlistGo/alist · error
preview not available
Error message
preview not available
What it means
Error "preview not available" thrown in AlistGo/alist.
Source
Thrown at drivers/doubao_new/driver.go:533
}
func (d *DoubaoNew) previewLink(ctx context.Context, obj *Object, args model.LinkArgs) (*model.Link, error) {
auth := d.resolveAuthorization()
dpop := d.resolveDpop()
if auth == "" || dpop == "" {
return nil, errors.New("missing authorization or dpop")
}
if obj.ObjToken == "" {
return nil, errors.New("missing obj_token")
}
info, err := d.getFileInfo(ctx, obj.ObjToken)
if err != nil {
return nil, err
}
entry, ok := info.PreviewMeta.Data["22"]
if !ok || entry.Status != 0 {
return nil, errors.New("preview not available")
}
subID := ""
pageIndex := 0
if args.HttpReq != nil {
query := args.HttpReq.URL.Query()
if v := query.Get("sub_id"); v != "" {
subID = v
} else if v := query.Get("page"); v != "" {
if p, err := strconv.Atoi(v); err == nil && p >= 0 {
pageIndex = p
}
}
}
if subID == "" {
imgExt := ".webp"
pageNums := 0
if entry.Extra != "" {View on GitHub (pinned to 843d9dc814)
Solutions
- Check the storage configuration and the provider's service status, fix the indicated cause, and retry the operation.
When it happens
Trigger: Thrown at drivers/doubao_new/driver.go:533 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/ae59f18b0f7c21f5.
Report an issue: GitHub.