[错误] 百度网盘 (errno 20016) 和 360 AI 云盘 (头部错误) 加载失败
作者: ljc2221788-commits创建于 2026年9月6日更新于 2026年9月6日
标签bug
Please make sure of the following things
- I have read the documentation. I have read the documentation.
- I'm sure there are no duplicate issues or discussions. I'm sure there are no duplicate issues or discussions.
- I'm sure it's due to
AListand not something else(such as Network ,DependenciesorOperational). I'm sure it's due toAListand not something else(such as Network,DependenciesorOperational). - I'm sure this issue is not fixed in the latest version. I'm sure this issue is not fixed in the latest version.
AList Version / AList 版本
v3.64.0
Driver used / 使用的存储驱动
Baidu Netdisk, 360AI YunPan
Describe the bug / 问题描述
1. 百度网盘 (Baidu Netdisk)
Storage status error: req: [https://pan.baidu.com/rest/2.0/xpan/as] ,errno: 20016
- Description of the problem: After configuring the Refresh Token, the directory cannot be loaded, and the Access Token is expired or the Refresh Token is invalid (errno 20016). Even after updating the Token, AList is unable to automatically complete the refresh handshake.
2. 360 AI 云盘 (360AI YunPan)
Storage status error: yunpan360.OpenAuthResp.Data: readObjectStart: expect { or n, but found [, error found in #10 byte of ... | "errmsg": "header error"
- Description of the problem: After mounting with the correct API Key/Auth Token, normal login and loading are not possible, and JSON parsing errors and
header errorare returned, suspected to be due to changes in the 360 official API request header structure or changes in the backend return format that caused parsing failures.
Reproduction / 复现链接
- Add storage in the AList backend (Baidu Netdisk or 360AI YunPan).
- Fill in the required parameters (such as the Refresh Token/client key for Baidu Netdisk, or the API Key for 360) as per the official documentation.
- Save and return to the "Storage" list, the status is displayed as non-working, and the above error message is displayed.
Config / 配置
Baidu Netdisk Storage Settings (from AList Web UI):
- Mount Path: /网关管理系统/百度
- Refresh Token:
122.xxxxx(通过工具正确回调) - Root folder path: /网关管理系统/百度
- Download API: 官方 (Official)
- Client ID:
通过工具正确回调 - Client Secret:
通过工具正确回调 - Custom crack ua:
netdisk - Upload Threads: 3
- Upload API:
https://d.pcs.baidu.com - Use dynamic upload api: Enabled 360 AI YunPan Storage Settings:
- Auth Type: API Key / Token Authentication (Configured per official guidelines)
Logs / 日志
[Baidu] req: [https://pan.baidu.com/rest/2.0/xpan/as] ,errno: 20016 [360yunpan] yunpan360.OpenAuthResp.Data: readObjectStart: expect { or n... errmsg: header error
内容来源: AlistGo/alist