{"record":{"id":"f4ff60e596d913f3","repo":"AlistGo/alist","slug":"s-s","errorCode":null,"errorMessage":"%s:%s","messagePattern":"%s:%s","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/aliyundrive_open/util.go","lineNumber":254,"sourceCode":"\t\treturn nil, err, nil\n\t}\n\tres, err := req.Execute(method, API_URL+uri)\n\tif err != nil {\n\t\tif res != nil {\n\t\t\tlog.Errorf(\"[aliyundrive_open] request error: %s\", res.String())\n\t\t}\n\t\treturn nil, err, nil\n\t}\n\tisRetry := len(retry) > 0 && retry[0]\n\tif e.Code != \"\" {\n\t\tif !isRetry && (utils.SliceContains([]string{\"AccessTokenInvalid\", \"AccessTokenExpired\", \"I400JD\"}, e.Code) || d.getAccessToken() == \"\") {\n\t\t\terr = d.refreshToken(ctx)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, err, nil\n\t\t\t}\n\t\t\treturn d.requestReturnErrResp(ctx, limitTy, uri, method, callback, true)\n\t\t}\n\t\treturn nil, fmt.Errorf(\"%s:%s\", e.Code, e.Message), &e\n\t}\n\treturn res.Body(), nil, nil\n}\n\nfunc (d *AliyundriveOpen) list(ctx context.Context, data base.Json) (*Files, error) {\n\tvar resp Files\n\t_, err := d.request(ctx, limiterList, \"/adrive/v1.0/openFile/list\", http.MethodPost, func(req *resty.Request) {\n\t\treq.SetBody(data).SetResult(&resp)\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resp, nil\n}\n\nfunc (d *AliyundriveOpen) getFiles(ctx context.Context, fileId string) ([]File, error) {\n\tmarker := \"first\"\n\tres := make([]File, 0)","sourceCodeStart":236,"sourceCodeEnd":272,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/aliyundrive_open/util.go#L236-L272","documentation":"Error \"%s:%s\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/aliyundrive_open/util.go:254 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying error details in the message, fix the indicated cause (credentials, network, or provider-side failure), and retry."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"843d9dc8149126976b2625911e45a4d3ffd6f2f5","analyzedAt":"2026-08-15T12:14:11.722Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}