{"record":{"id":"f79a4a02eda0ed37","repo":"AlistGo/alist","slug":"login-failed-s","errorCode":null,"errorMessage":"login failed: %s","messagePattern":"login failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/bitqiu/driver.go","lineNumber":584,"sourceCode":"\nfunc (d *BitQiu) login(ctx context.Context) error {\n\tif d.client == nil {\n\t\treturn fmt.Errorf(\"client not initialized\")\n\t}\n\n\tform := map[string]string{\n\t\t\"passport\":    d.Username,\n\t\t\"password\":    utils.GetMD5EncodeStr(d.Password),\n\t\t\"remember\":    \"0\",\n\t\t\"captcha\":     \"\",\n\t\t\"org_channel\": orgChannel,\n\t}\n\tvar resp Response[LoginData]\n\tif err := d.postForm(ctx, loginURL, form, &resp); err != nil {\n\t\treturn err\n\t}\n\tif resp.Code != successCode {\n\t\treturn fmt.Errorf(\"login failed: %s\", resp.Message)\n\t}\n\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}","sourceCodeStart":566,"sourceCodeEnd":602,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/bitqiu/driver.go#L566-L602","documentation":"Error \"login failed: %s\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/bitqiu/driver.go:584 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the account credentials in the storage configuration and correct them, then save 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"}