Error in curl :: curl_fetch_memory (url, handle = handle): Error while fetching data from partner
I am having a problem while executing commands in R, and here are the details:
library(TwoSampleMR)
ao <- available_outcomes()
Error in curl::curl_fetch_memory(url, handle = handle) : Failure when receiving data from the peer
traceback()
15: .Call(R_curl_fetch_memory, url, handle, nonblocking)
14: curl::curl_fetch_memory(url, handle = handle)
13: request_fetch.write_memory(req$output, req$url, handle)
12: request_fetch(req$output, req$url, handle)
11: request_perform(req, hu$handle$handle)
10: POST(endpoint$access, encode = "form", body = req_params)
9: init_oauth2.0(self$endpoint, self$app, scope = self$params$scope,
user_params = self$params$user_params, type = self$params$type,
use_oob = self$params$use_oob, use_basic_auth = self$params$use_basic_auth)
8: self$init_credentials()
7: .subset2(public_bind_env, "initialize")(...)
6: Token2.0$new(app = app, endpoint = endpoint, params = params,
cache_path = cache)
5: httr::oauth2.0_token(endpoint = endpoint, app = app, scope = getOption("googleAuthR.scopes.selected"),
cache = getOption("googleAuthR.httr_oauth_cache"))
4: googleAuthR::gar_auth()
3: get_mrbase_access_token()
2: paste0(options()$mrbaseapi, "get_studies?access_token=", access_token)
1: available_outcomes()
I have searched many times on Google and no one has provided an answer that can solve my problem, I would really like someone to help me!
+3
source to share
No one has answered this question yet
Check out similar questions: