on2k19nm
(Onkar N Mahajan)
December 14, 2018, 7:36am
1
I am trying to download the bluebook-for-bulldozers dataset using kaggle API, but I get the “403 - Forbidden” error,
I did this –
(1) Logged into to my kaggle profile
(2) “Edit Profile” in the right hand top corner
(3) “Create New API token”
(4) Download token in ~/Downloads
(5)
(pytorch-gpu) onkar@Curiosity:~/mnt/kaggle/bluebook-for-bulldozers/data$ cp ~/Downloads/kaggle.json ~/.kaggle/kaggle.json
(pytorch-gpu) onkar@Curiosity:~/mnt/kaggle/bluebook-for-bulldozers/data$ chmod 600 /home/onkar/.kaggle/kaggle.json
(pytorch-gpu) onkar@Curiosity:~/mnt/kaggle/bluebook-for-bulldozers/data$ kaggle competitions download -c bluebook-for-bulldozers -w -q
403 - Forbidden
onkar@Curiosity:~/mnt/kaggle/bluebook-for-bulldozers/data$ kaggle competitions download -c bluebook-for-bulldozers -w -q
403 - Forbidden
This is a local/Home system.
Any clues ?
on2k19nm
(Onkar N Mahajan)
December 14, 2018, 7:53am
2
Sorry, my mistake, to download datasets, competition rules have to be accepted. If you have created a new account, there is a phone verification and after that you can accept the competition rule and get started with using the Kaggle API to download the datasets.
Posting the answer in hope that this helps others as well.
1 Like
newoptionz
(Stephen Williams)
November 1, 2020, 1:03pm
3
Well I can manually download the data from kaggle, but the api download does not work.
2 Likes
D_SM
April 8, 2021, 7:32pm
4
Yes the api download command is not working.
so did the following: -
downloaded the data using
! kaggle competitions download -c bluebook-for-bulldozers
create the directory using
if not path.exists(): path.mkdir()
moved the zip file downloaded to that created directory.
then extract files using
file_extract(path/'bluebook-for-bulldozers.zip')
you are good to go
2 Likes
I have also same issue from couple of days any suggestion for this so please reply. Thanks in advance.
MartinLubowa
(Martin Joseph Lubowa)
August 14, 2023, 12:04pm
6
Can you please provide a screenshot of this part of the your notebook?
MartinLubowa
(Martin Joseph Lubowa)
August 15, 2023, 12:02pm
7
It looks like Kaggle changed the location of the accept rules, it is now appears like a popup for with the accept competition rules button
I’m having a bit of trouble with the kaggle API download. I can still get the data by manually downloading it, but the API isn’t working
sam-spy
(Sampsa)
December 10, 2024, 8:49pm
9
I’m also struggling to download the data, either via API or directly from the Kaggle site. It tells me to accept the rules, but I’m unable to do that. There’s a grayed out button saying “Late Submission” on the page, and I can’t press that. Other competitions that are over, the “Late Submission” button is black and it can be pressed. But not for the bluebook-for-bulldozers competition…
Probably issue with Kaggle, but wanted to post it here, too.
I solved the problem,
you can not accept the rules directly, here is the trick
activate the account and phone number
go to the data > click on one of the tables like train.csv
one pop up comes up and then accept and join the competition
7 Likes
liuzhiyuan
(liuzhiyuan)
January 3, 2025, 8:39am
11
Very useful
Thanks a lot!
Thank you for sharing this information…Cape Coral Property Appraiser
bmh
January 16, 2025, 1:51am
13
This helped solve my issue in this thread:
Hi, I wanted to let you know I have had the same issue. Were you able to solve your issue?
My best guess is that the “rules” of the competition are no longer able to be accepted. Kaggle requires accepting the rules of the competition to download data, but there does not seem to be an “accept rules” button on the rules page currently
[Screenshot 2025-01-14 214709]
I am hoping someone can reply here with a solution, because it feels like the book chapter 9 is bricked if Kaggle’s data is inacc…
After accepting the rules with the method above, I used command line tools to download the dataset.
Thank you again for posting the solution!
1 Like
Wis7
January 28, 2025, 10:07pm
14
Thank you. The rule accepting button was changed to pop-ups. It took 1hour to find this solution. Thanks a lot!
bbyork
February 11, 2025, 2:01pm
15
I can’t see no pop-up for the acceptance rules
karen
(karen)
February 14, 2025, 10:23pm
16
The solution of @navidfalah worked out for me. Go to the Data section of the competition. In the “Data Explorer” section, click on the tables until you see the pop-up asking you to accept the rules.
1 Like