Open joaquinvanschoren opened 6 years ago
This is likely an issue with the R API, I'll move this issue to the R tracker.
Adding your api key to the url seems to work, e.g. try: https://www.openml.org/data/v1/download/7387780/Honey_bee_Seasonal_mortality.arff?api-key=1234567890
so I assume the R API is not passing it correctly.
I can also make the dataset public if you like. If you click on the 'edit' button on the dataset page you can also change it. Note: we are in the middle of redesigning these forms, let me know if it does not work.
Not sure, as it does not work with my API key.
So this
curl https://www.openml.org/data/v1/download/7387780/Honey_bee_Seasonal_mortality.arff?api-key=MY_API_KEY
fails. with "
You don't have the right access rights to view this page.
"
Sorry, it does work from command line, I missspelled the api_key parameter.
The problem is in this line: https://github.com/openml/openml-r/blob/0708f97f21dc21925cedd556480cb5d1c52791a0/R/downloadOMLObject.R#L108
in here we download the file with a simple
GET(url),
which does never adds the apikey, even if set correctly.
Indeed. @giuseppec do you have time to look at this issue?
Hm, I am getting the error "403 Forbidden" as well here?
From @behrica on May 31, 2018 9:56
I have problems to download my own task 168302 (better said : with its data set: 40864) with the R API. I think I set the apikey correctly, but something strange happens:
Looking at the local dataset file, shows taht iot contains an html error:
It should be all owned by me...
Maybe it is because the visibility is set to "private", but I don't know how to change it:
I tried to delete the data set and all tasks related to it, but don't manage this neither..
Copied from original issue: openml/OpenML#754