[X] I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。
[X] I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
我确定是AList的问题,而不是其他原因(例如网络,依赖或操作)。
[X] I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
3.37.3
Driver used / 使用的存储驱动
OneDrive App
Describe the bug / 问题描述
按照官方文档设置了OneDrive App,每一步都按照文档的选项卡子页顺序设置,没有任何报错,但最终试图访问目录时报错:
failed get objs: failed to list objs: Call was made to the default drive, which is not supported for apponly tokens.
Reproduction / 复现链接
无
Config / 配置
Logs / 日志
请展开:
```
[GIN] 2024/09/20 - 16:46:02 | 200 | 388.157958ms | 112.21.48.119 | POST "/api/fs/list"
[GIN] 2024/09/20 - 16:51:19 | 200 | 137.977µs | 112.21.48.119 | GET "/Jennings OneDrive"
[GIN] 2024/09/20 - 16:51:19 | 200 | 193.948µs | 112.21.48.119 | GET "/api/public/settings"
[GIN] 2024/09/20 - 16:51:20 | 200 | 175.434µs | 112.21.48.119 | GET "/api/me"
[GIN] 2024/09/20 - 16:51:20 | 200 | 66.69µs | 112.21.48.119 | GET "/api/public/offline_download_tools"
[GIN] 2024/09/20 - 16:51:20 | 200 | 434.382µs | 112.21.48.119 | POST "/api/fs/get"
ERRO[2024-09-20 16:51:21] fs/list: Call was made to the default drive, which is not supported for apponly tokens.
failed to list objs
github.com/alist-org/alist/v3/internal/op.List.func1
/source/internal/op/fs.go:127
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall.func2
/source/pkg/singleflight/singleflight.go:193
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall
/source/pkg/singleflight/singleflight.go:195
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).Do
/source/pkg/singleflight/singleflight.go:108
github.com/alist-org/alist/v3/internal/op.List
/source/internal/op/fs.go:124
github.com/alist-org/alist/v3/internal/fs.list
/source/internal/fs/list.go:25
github.com/alist-org/alist/v3/internal/fs.List
/source/internal/fs/fs.go:22
github.com/alist-org/alist/v3/server/handles.FsList
/source/server/handles/fsread.go:86
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.Auth
/source/server/middlewares/auth.go:73
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
ERRO[2024-09-20 16:51:21] failed list /Jennings OneDrive: Call was made to the default drive, which is not supported for apponly tokens.
failed to list objs
github.com/alist-org/alist/v3/internal/op.List.func1
/source/internal/op/fs.go:127
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall.func2
/source/pkg/singleflight/singleflight.go:193
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall
/source/pkg/singleflight/singleflight.go:195
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).Do
/source/pkg/singleflight/singleflight.go:108
github.com/alist-org/alist/v3/internal/op.List
/source/internal/op/fs.go:124
github.com/alist-org/alist/v3/internal/fs.list
/source/internal/fs/list.go:25
github.com/alist-org/alist/v3/internal/fs.List
/source/internal/fs/fs.go:22
github.com/alist-org/alist/v3/server/handles.FsList
/source/server/handles/fsread.go:86
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.Auth
/source/server/middlewares/auth.go:73
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
failed get objs
[GIN] 2024/09/20 - 16:51:21 | 200 | 1.501328028s | 112.21.48.119 | POST "/api/fs/list"
```
Please make sure of the following things
[X] I have read the documentation. 我已经阅读了文档。
[X] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。
[X] I'm sure it's due to
AList
and not something else(such as Network ,Dependencies
orOperational
). 我确定是AList
的问题,而不是其他原因(例如网络,依赖
或操作
)。[X] I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
3.37.3
Driver used / 使用的存储驱动
OneDrive App
Describe the bug / 问题描述
按照官方文档设置了OneDrive App,每一步都按照文档的选项卡子页顺序设置,没有任何报错,但最终试图访问目录时报错:
failed get objs: failed to list objs: Call was made to the default drive, which is not supported for apponly tokens.
Reproduction / 复现链接
无
Config / 配置
Logs / 日志
请展开: