imWildCat opened a new issue, #4752:
URL: https://github.com/apache/opendal/issues/4752
```log
19:18:42 [DEBUG] (6) hyper_util::client::legacy::pool: pooling idle
connection for ("https", openapi.alipan.com)
19:18:42 [DEBUG] (6) opendal::services::aliyun_drive::backend: backend build
started: AliyunDriveBuilder { config: AliyunDriveConfig { root: None,
drive_type: "", .. }, .. }
19:18:42 [DEBUG] (6) opendal::services::aliyun_drive::backend: backend use
root /
19:18:42 [DEBUG] (6) opendal::services::aliyun_drive::backend: backend use
drive_type Default
19:18:42 [DEBUG] (6) opendal::services: service=aliyun_drive
operation=metadata -> started
19:18:42 [DEBUG] (6) opendal::services: service=aliyun_drive
operation=metadata -> finished: AccessorInfo { scheme: AliyunDrive, root: "/",
name: "", native_capability: { Stat | Read | Write | CreateDir | Delete | Copy
| Rename | List }, full_capability: { Stat | Read | Write | CreateDir | Delete
| Copy | Rename | List } }
19:18:42 [DEBUG] (6) opendal::services: service=aliyun_drive operation=list
path=/ -> started
19:18:42 [DEBUG] (6) reqwest::connect: starting new connection:
https://openapi.alipan.com/
19:18:42 [DEBUG] (33) hyper_util::client::legacy::connect::dns: resolving
host="openapi.alipan.com"
19:18:42 [DEBUG] (6) hyper_util::client::legacy::connect::http: connecting
to 39.106.251.95:443
19:18:42 [DEBUG] (7) hyper_util::client::legacy::connect::http: connected to
39.106.251.95:443
19:18:43 [DEBUG] (7) hyper_util::client::legacy::pool: pooling idle
connection for ("https", openapi.alipan.com)
19:18:43 [DEBUG] (7) hyper_util::client::legacy::pool: reuse idle connection
for ("https", openapi.alipan.com)
19:18:43 [DEBUG] (7) hyper_util::client::legacy::pool: pooling idle
connection for ("https", openapi.alipan.com)
19:18:43 [ERROR] service=aliyun_drive operation=list path=/ -> Unexpected
(permanent) at list, context: { service: aliyun_drive, path: / } => The input
parameter file_path is not valid. file_path is required
19:18:43 [INFO] get_remote_storage_settings;
19:18:43 [INFO] get_remote_storage_settings_validation;
```
However, if we set "root" is the `root`, it works:
```rs
aliyun_drive_builder
.access_token(&aliyun_drive_config.access_token)
.root("root");
```
```logs
19:25:00 [DEBUG] (10) opendal::services: service=aliyun_drive operation=list
path=/ -> start listing dir
19:25:00 [DEBUG] (10) opendal::services: service=aliyun_drive operation=list
path=/ -> finished
19:25:00 [DEBUG] (10) opendal::services: service=aliyun_drive operation=list
path=/ -> all entries read finished
````
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]