{"record":{"id":"10ce67cf9506d1ac","repo":"AlistGo/alist","slug":"resp-message","errorCode":null,"errorMessage":"resp.Message","messagePattern":"resp\\.Message","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/quark_uc_tv/util.go","lineNumber":171,"sourceCode":"\t\t\"channel\":       d.conf.channel,\n\t}\n\tif isRefresh {\n\t\tbody[\"refresh_token\"] = code\n\t} else {\n\t\tbody[\"code\"] = code\n\t}\n\n\t_, err := base.RestyClient.R().\n\t\tSetHeader(\"Content-Type\", \"application/json\").\n\t\tSetBody(body).\n\t\tSetResult(&resp).\n\t\tSetContext(ctx).\n\t\tPost(u)\n\tif err != nil {\n\t\treturn err\n\t}\n\tif resp.Code != 200 {\n\t\treturn errors.New(resp.Message)\n\t}\n\tif resp.Data.RefreshToken != \"\" {\n\t\td.Addition.RefreshToken = resp.Data.RefreshToken\n\t\top.MustSaveDriverStorage(d)\n\t\td.QuarkUCTVCommon.AccessToken = resp.Data.AccessToken\n\t} else {\n\t\treturn errors.New(\"refresh token is empty\")\n\t}\n\treturn nil\n}\n\nfunc (d *QuarkUCTV) isLogin(ctx context.Context) (bool, error) {\n\t_, err := d.request(ctx, \"/user\", http.MethodGet, func(req *resty.Request) {\n\t\treq.SetQueryParams(map[string]string{\n\t\t\t\"method\": \"user_info\",\n\t\t})\n\t}, nil)\n\treturn err == nil, err","sourceCodeStart":153,"sourceCodeEnd":189,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/quark_uc_tv/util.go#L153-L189","documentation":"Error \"resp.Message\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/quark_uc_tv/util.go:171 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the storage configuration and the provider's service status, fix the indicated cause, and retry the operation."],"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"}