{"record":{"id":"7d724058b221cde2","repo":"AlistGo/alist","slug":"get-user-info-failed-s","errorCode":null,"errorMessage":"get user info failed: %s","messagePattern":"get user info failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/bitqiu/driver.go","lineNumber":604,"sourceCode":"\td.userID = strconv.FormatInt(resp.Data.UserID, 10)\n\treturn d.ensureRootFolderID(ctx)\n}\n\nfunc (d *BitQiu) ensureRootFolderID(ctx context.Context) error {\n\trootID := d.Addition.GetRootId()\n\tif rootID != \"\" && rootID != \"0\" {\n\t\treturn nil\n\t}\n\n\tform := map[string]string{\n\t\t\"org_channel\": orgChannel,\n\t}\n\tvar resp Response[UserInfoData]\n\tif err := d.postForm(ctx, userInfoURL, form, &resp); err != nil {\n\t\treturn err\n\t}\n\tif resp.Code != successCode {\n\t\treturn fmt.Errorf(\"get user info failed: %s\", resp.Message)\n\t}\n\tif resp.Data.RootDirID == \"\" {\n\t\treturn fmt.Errorf(\"get user info failed: empty root dir id\")\n\t}\n\tif d.Addition.RootFolderID != resp.Data.RootDirID {\n\t\td.Addition.RootFolderID = resp.Data.RootDirID\n\t\top.MustSaveDriverStorage(d)\n\t}\n\treturn nil\n}\n\nfunc (d *BitQiu) postForm(ctx context.Context, url string, form map[string]string, result interface{}) error {\n\tif d.client == nil {\n\t\treturn fmt.Errorf(\"client not initialized\")\n\t}\n\treq := d.client.R().\n\t\tSetContext(ctx).\n\t\tSetHeaders(d.commonHeaders()).","sourceCodeStart":586,"sourceCodeEnd":622,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/bitqiu/driver.go#L586-L622","documentation":"Error \"get user info failed: %s\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/bitqiu/driver.go:604 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-15T22:17:37.221Z"}