{"record":{"id":"2ff3dd73718fbdaf","repo":"AlistGo/alist","slug":"missing-source-token","errorCode":null,"errorMessage":"missing source token","messagePattern":"missing source token","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/doubao_new/driver.go","lineNumber":154,"sourceCode":"\t\tURL:      node.URL,\n\t}, nil\n}\n\nfunc (d *DoubaoNew) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) {\n\tif srcObj == nil {\n\t\treturn nil, errors.New(\"nil source object\")\n\t}\n\tif dstDir == nil {\n\t\treturn nil, errors.New(\"nil destination dir\")\n\t}\n\tsrcToken := srcObj.GetID()\n\tif srcToken == \"\" {\n\t\tif obj, ok := srcObj.(*Object); ok {\n\t\t\tsrcToken = obj.ObjToken\n\t\t}\n\t}\n\tif srcToken == \"\" {\n\t\treturn nil, errors.New(\"missing source token\")\n\t}\n\tif err := d.moveObj(ctx, srcToken, dstDir.GetID()); err != nil {\n\t\treturn nil, err\n\t}\n\tif obj, ok := srcObj.(*Object); ok {\n\t\tclone := *obj\n\t\tclone.Path = dstDir.GetID()\n\t\treturn &clone, nil\n\t}\n\treturn srcObj, nil\n}\n\nfunc (d *DoubaoNew) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error) {\n\tif srcObj == nil {\n\t\treturn nil, errors.New(\"nil source object\")\n\t}\n\tif srcObj.IsDir() {\n\t\tif err := d.renameFolder(ctx, srcObj.GetID(), newName); err != nil {","sourceCodeStart":136,"sourceCodeEnd":172,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/doubao_new/driver.go#L136-L172","documentation":"Error \"missing source token\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/doubao_new/driver.go:154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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."],"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"}