Unable to download bluebook-for-bulldozers with Kaggle API

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 ?

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

Well I can manually download the data from kaggle, but the api download does not work.