AlistGo/alist · error
e.ErrorDescription
Error message
e.ErrorDescription
What it means
Error "e.ErrorDescription" thrown in AlistGo/alist.
Source
Thrown at drivers/pikpak/util.go:299
return nil, err
}
switch e.ErrorCode {
case 0:
return res.Body(), nil
case 4122, 4121, 16:
// access_token 过期
if err1 := d.refreshToken(d.RefreshToken); err1 != nil {
return nil, err1
}
return d.request(url, method, callback, resp)
case 9: // 验证码token过期
if err = d.RefreshCaptchaTokenAtLogin(GetAction(method, url), d.GetUserID()); err != nil {
return nil, err
}
return d.request(url, method, callback, resp)
case 10: // 操作频繁
return nil, errors.New(e.ErrorDescription)
default:
return nil, errors.New(e.Error())
}
}
func (d *PikPak) getFiles(id string) ([]File, error) {
res := make([]File, 0)
pageToken := "first"
for pageToken != "" {
if pageToken == "first" {
pageToken = ""
}
query := map[string]string{
"parent_id": id,
"thumbnail_size": "SIZE_LARGE",
"with_audit": "true",
"limit": "100",
"filters": `{"phase":{"eq":"PHASE_TYPE_COMPLETE"},"trashed":{"eq":false}}`,View on GitHub (pinned to 843d9dc814)
Solutions
- Check the storage configuration and the provider's service status, fix the indicated cause, and retry the operation.
When it happens
Trigger: Thrown at drivers/pikpak/util.go:299 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of AlistGo/alist@843d9dc814 (2026-08-15).
Data as JSON: /api/errors/1af93b1e1f0907a3.
Report an issue: GitHub.