AlistGo/alist · error
missing source token
Error message
missing source token
What it means
Error "missing source token" thrown in AlistGo/alist.
Source
Thrown at drivers/doubao_new/driver.go:154
URL: node.URL,
}, nil
}
func (d *DoubaoNew) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) {
if srcObj == nil {
return nil, errors.New("nil source object")
}
if dstDir == nil {
return nil, errors.New("nil destination dir")
}
srcToken := srcObj.GetID()
if srcToken == "" {
if obj, ok := srcObj.(*Object); ok {
srcToken = obj.ObjToken
}
}
if srcToken == "" {
return nil, errors.New("missing source token")
}
if err := d.moveObj(ctx, srcToken, dstDir.GetID()); err != nil {
return nil, err
}
if obj, ok := srcObj.(*Object); ok {
clone := *obj
clone.Path = dstDir.GetID()
return &clone, nil
}
return srcObj, nil
}
func (d *DoubaoNew) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error) {
if srcObj == nil {
return nil, errors.New("nil source object")
}
if srcObj.IsDir() {
if err := d.renameFolder(ctx, srcObj.GetID(), newName); err != nil {View on GitHub (pinned to 843d9dc814)
Solutions
- Provide a valid token in the storage configuration and save it again.
- If the token expired, re-login or refresh it through the provider and update the configuration.
When it happens
Trigger: Thrown at drivers/doubao_new/driver.go:154 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/2ff3dd73718fbdaf.
Report an issue: GitHub.