Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 用户使用clash开启tun模式才能访问谷歌相册 #261

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/guide/drivers/googlephotos.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,15 @@ We fill in **https://alist.nn.ci/tool/google/album** to get a single catalog ID



## **Two notes:**
## **Three notes:**

1. failed get objs: failed to list objs: Request had insufficient authentication scopes.: []
- It's because you didn't check the album permission (see the picture mentioned above) `view and organize the content in your Google Photos media library, and upload content to the media library when obtaining authorization. Learn more`
- You get the `access_token` and the `refresh_token` without declearing the scope of `https://www.googleapis.com/auth/photoslibrary`

2. failed get objs: failed to list objs: Photos Library API has not been used in project ... before or it is disabled. Enable it by visiting <https://console.developers.google.com/apis/api/photoslibrary.googleapis.com/overview> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.: []
- because **`Photos Library API`** is not enabled in your project, Google Photos API
3. If using clash on Windows, only display all media, all albums, and shared albums, but prompt when entering a folder,failed get objs: failed to list objs,please use tun mode,https://github.com/alist-org/alist/issues/5056

### **Finish**

Expand All @@ -100,4 +101,4 @@ flowchart TB
b1[Download proxy URL]-.alternative.->a2[user equipment]
click b1 "../drivers/common.html#webdav-policy"
click c1 "../drivers/common.html#webdav-policy"
```
```
3 changes: 2 additions & 1 deletion docs/zh/guide/drivers/googlephotos.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,15 @@ star: true



## **两个注意事项:**
## **三个注意事项:**

1. failed get objs: failed to list objs: Request had insufficient authentication scopes.: []
- 是因为在获取授权的时候没有勾选 相册权限(查看上面提到的图片) `查看和整理您的Google相册媒体库中的内容,向媒体库上传内容。`
- 获取 `access_token`、`refresh_token` 时未声明`https://www.googleapis.com/auth/photoslibrary`的范围。

2. failed get objs: failed to list objs: Photos Library API has not been used in project ... before or it is disabled. Enable it by visiting <https://console.developers.google.com/apis/api/photoslibrary.googleapis.com/overview> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.: []
- 是因为对应的项目没有开启 **`Photos Library API`** 谷歌相册API
3. 若在Windows上使用clash,只显示全部媒体、全部影集、共享影集,但进入文件夹提示failed get objs: failed to list objs,请切换道tun模式,参照https://github.com/alist-org/alist/issues/5056

### **挂载展示**

Expand Down