{"record":{"id":"7ac866313f552660","repo":"AlistGo/alist","slug":"resp-string-7ac866","errorCode":null,"errorMessage":"resp.String()","messagePattern":"resp\\.String\\(\\)","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/misskey/util.go","lineNumber":230,"sourceCode":"\n\tfolderId := handleFolderId(dstDir)\n\tif folderId != nil {\n\t\tformData[\"folderId\"] = folderId.(string)\n\t}\n\n\treq := base.RestyClient.R().\n\t\tSetContext(ctx).\n\t\tSetFileReader(\"file\", stream.GetName(), reader).\n\t\tSetFormData(formData).\n\t\tSetResult(&file).\n\t\tSetAuthToken(d.AccessToken)\n\n\tresp, err := req.Post(d.Endpoint + \"/api/drive/files/create\")\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif !resp.IsSuccess() {\n\t\treturn nil, errors.New(resp.String())\n\t}\n\n\treturn mFile2Object(file), nil\n}\n\nfunc mFile2Object(file MFile) *model.ObjThumbURL {\n\tctime, err := time.Parse(time.RFC3339, file.CreatedAt)\n\tif err != nil {\n\t\tctime = time.Time{}\n\t}\n\treturn &model.ObjThumbURL{\n\t\tObject: model.Object{\n\t\t\tID:       file.ID,\n\t\t\tName:     file.Name,\n\t\t\tCtime:    ctime,\n\t\t\tIsFolder: false,\n\t\t\tSize:     file.Size,\n\t\t},","sourceCodeStart":212,"sourceCodeEnd":248,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/misskey/util.go#L212-L248","documentation":"Error \"resp.String()\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/misskey/util.go:230 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"}