{"record":{"id":"36f6a5931563a8c7","repo":"AlistGo/alist","slug":"can-t-find-remote-storage-w","errorCode":null,"errorMessage":"can't find remote storage: %w","messagePattern":"can't find remote storage: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/chunker/driver.go","lineNumber":65,"sourceCode":"\t}\n\tif err := d.validateOptions(); err != nil {\n\t\treturn err\n\t}\n\n\ttargetPaths := d.configuredRemotePaths()\n\td.remoteTargets = make([]remoteTarget, 0, len(targetPaths))\n\tfor _, targetPath := range targetPaths {\n\t\tstorage, err := fs.GetStorage(targetPath, &fs.GetStoragesArgs{})\n\t\tif err != nil {\n\t\t\treturn fmt.Errorf(\"can't find remote storage %q: %w\", targetPath, err)\n\t\t}\n\t\td.remoteTargets = append(d.remoteTargets, remoteTarget{\n\t\t\tMountPath: targetPath,\n\t\t\tStorage:   storage,\n\t\t})\n\t}\n\tif len(d.remoteTargets) == 0 {\n\t\treturn fmt.Errorf(\"can't find remote storage: %w\", errs.ObjectNotFound)\n\t}\n\td.remoteStorage = d.remoteTargets[0].Storage\n\treturn nil\n}\n\nfunc (d *Chunker) Drop(ctx context.Context) error {\n\td.remoteStorage = nil\n\td.remoteTargets = nil\n\treturn nil\n}\n\nfunc (d *Chunker) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) {\n\treturn d.listDirObjects(ctx, dir.GetPath(), args.Refresh)\n}\n\nfunc (d *Chunker) Get(ctx context.Context, pathStr string) (model.Obj, error) {\n\tif utils.PathEqual(pathStr, \"/\") {\n\t\treturn &model.Object{","sourceCodeStart":47,"sourceCodeEnd":83,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/chunker/driver.go#L47-L83","documentation":"Error \"can't find remote storage: %w\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/chunker/driver.go:65 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying error details in the message, fix the indicated cause (credentials, network, or provider-side failure), and retry."],"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"}