Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug] Baidu Netdisk (errno 20016) and 360 AI YunPan (header error) fail to load #9644

Description

@ljc2221788-commits

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • 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)

存储状态报错:req: [https://pan.baidu.com/rest/2.0/xpan/as] ,errno: 20016

  • 现象描述:配置 Refresh Token 后无法加载目录,提示 Access Token 过期或 Refresh Token 失效(errno 20016)。即使更新 Token,AList 也未能自动完成刷新握手。

2. 360 AI 云盘 (360AI YunPan)

存储状态报错:yunpan360.OpenAuthResp.Data: readObjectStart: expect { or n, but found [, error found in #10 byte of ... | "errmsg": "header error"

  • 现象描述:填入正确的 API Key / Auth Token 挂载后无法正常登录与加载,返回 JSON 解析异常及 header error,疑似 360 官方 API 请求头结构变化或后端返回格式变更导致解析失败。
Image Image

Reproduction / 复现链接

  1. 在 AList 后台添加存储(Baidu Netdisk 或 360AI YunPan)。
  2. 按官方文档填入必需参数(如百度网盘的 Refresh Token / 客户端密钥,或 360 的 API Key)。
  3. 保存后回到“存储”列表,状态显示为非 work 状态,抛出上述错误提示。

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions