diff --git a/R/helper.get.bin.project.dataset.pids.R b/R/helper.get.bin.project.dataset.pids.R index aec68ee..08d0687 100644 --- a/R/helper.get.bin.project.dataset.pids.R +++ b/R/helper.get.bin.project.dataset.pids.R @@ -32,7 +32,7 @@ bin.dataset.project.pids<-function (get.data.input, if (httr::status_code(get.data) < 200 || httr::status_code(get.data)>=300) { - stop(paste("Data could not be retrieved. Please check the get_by & identifiers. Please also re-confirm whether the API key has the necessary permissions to obtain the requested data.")) + stop(paste("Data could not be retrieved. Please check the get_by & identifiers. Please also re-confirm whether the API key has the necessary permissions to obtain any/all data (esp. datasets and projects)")) } ## Obtain the token as Json strings @@ -64,6 +64,7 @@ bin.dataset.project.pids<-function (get.data.input, add_headers('accept' = 'application/json', 'api-key' = apikey)) + ## Obtain the content as Json strings suppressMessages(