{"record":{"id":"381bdf9528895d4d","repo":"AlistGo/alist","slug":"resp-sharestatustext","errorCode":null,"errorMessage":"resp.ShareStatusText","messagePattern":"resp\\.ShareStatusText","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/pikpak_share/util.go","lineNumber":165,"sourceCode":"\t\t\t\"page_token\":      pageToken,\n\t\t\t\"pass_code_token\": d.PassCodeToken,\n\t\t}\n\t\tvar resp ShareResp\n\t\t_, err := d.request(\"https://api-drive.mypikpak.net/drive/v1/share/detail\", http.MethodGet, func(req *resty.Request) {\n\t\t\treq.SetQueryParams(query)\n\t\t}, &resp)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tif resp.ShareStatus != \"OK\" {\n\t\t\tif resp.ShareStatus == \"PASS_CODE_EMPTY\" || resp.ShareStatus == \"PASS_CODE_ERROR\" {\n\t\t\t\terr = d.getSharePassToken()\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn nil, err\n\t\t\t\t}\n\t\t\t\treturn d.getFiles(id)\n\t\t\t}\n\t\t\treturn nil, errors.New(resp.ShareStatusText)\n\t\t}\n\t\tpageToken = resp.NextPageToken\n\t\tres = append(res, resp.Files...)\n\t}\n\treturn res, nil\n}\n\nfunc GetAction(method string, url string) string {\n\turlpath := regexp.MustCompile(`://[^/]+((/[^/\\s?#]+)*)`).FindStringSubmatch(url)[1]\n\treturn method + \":\" + urlpath\n}\n\ntype Common struct {\n\tclient       *resty.Client\n\tCaptchaToken string\n\t// 必要值,签名相关\n\tClientID      string\n\tClientSecret  string","sourceCodeStart":147,"sourceCodeEnd":183,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/pikpak_share/util.go#L147-L183","documentation":"Error \"resp.ShareStatusText\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/pikpak_share/util.go:165 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"}