{"record":{"id":"569c178bca1010ac","repo":"AlistGo/alist","slug":"unsupported-object-type","errorCode":null,"errorMessage":"unsupported object type","messagePattern":"unsupported object type","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/doubao_new/driver.go","lineNumber":82,"sourceCode":"\t\t\t\tModified: time.Unix(node.EditTime, 0),\n\t\t\t\tCtime:    time.Unix(node.CreateTime, 0),\n\t\t\t\tIsFolder: isFolder,\n\t\t\t},\n\t\t\tObjToken: node.ObjToken,\n\t\t\tNodeType: node.NodeType,\n\t\t\tObjType:  node.Type,\n\t\t\tURL:      node.URL,\n\t\t}\n\t\tobjs = append(objs, obj)\n\t}\n\n\treturn objs, nil\n}\n\nfunc (d *DoubaoNew) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) {\n\tobj, ok := file.(*Object)\n\tif !ok {\n\t\treturn nil, errors.New(\"unsupported object type\")\n\t}\n\tif obj.IsFolder {\n\t\treturn nil, errs.LinkIsDir\n\t}\n\tif args.Type == \"preview\" || args.Type == \"thumb\" {\n\t\tif link, err := d.previewLink(ctx, obj, args); err == nil {\n\t\t\treturn link, nil\n\t\t}\n\t}\n\tauth := d.resolveAuthorization()\n\tdpop := d.resolveDpop()\n\tif auth == \"\" || dpop == \"\" {\n\t\treturn nil, errors.New(\"missing authorization or dpop\")\n\t}\n\tif obj.ObjToken == \"\" {\n\t\treturn nil, errors.New(\"missing obj_token\")\n\t}\n","sourceCodeStart":64,"sourceCodeEnd":100,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/doubao_new/driver.go#L64-L100","documentation":"Error \"unsupported object type\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/doubao_new/driver.go:82 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["This operation is not supported by the driver/backend; use a supported alternative or a different storage driver."],"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-15T22:17:37.221Z"}