Kaggle / kaggle-api

Official Kaggle API
Apache License 2.0
6.14k stars 1.08k forks source link

Downloading Dataset and getting 403 - Forbidden error in Anaconda Prompt #160

Closed Catastrophe9260 closed 1 year ago

Catastrophe9260 commented 5 years ago

I tried to download the kaggle Diabetic Retinopathy dataset. I installed kaggle API using "pip install", I also have "kaggle.json" with my API credentials.

I get a 403 Forbidden error when using the code sequence "kaggle competitions download -c diabetic-retinopathy-detection" to download the data.

Any thoughts? I need some help.

tatianass commented 5 years ago

Same here. I looked up at the dataset and they don't allow it to be downloaded there either.

renschler commented 5 years ago

you might need to agree to the competitions terms before you can download via api. That's what happened to me.

CuriousShoubhik commented 5 years ago

Thanks renschler - Once I joined the competition and accepted the terms and conditions I was able to download the data

vishal5212 commented 5 years ago

Thanks renschler. You're right.

hemanthyernagula commented 4 years ago

Before downloading the kaggle dataset to colab you must accept or join into that competition

PanMichael commented 4 years ago
  1. Go to your kaggle acount and find the dataset you are trying to download
  2. in the data tab, you see API command and download all button
  3. click download all button, which will prompt you to the rules tab if you have not accepted terms and conditions
  4. After you accepted terms, go back to data tab where you can either click download all (download a zip file to your HDD) or copy & paste API command to your Colab env.
Ram04420 commented 4 years ago
  1. Go to your kaggle acount and find the dataset you are trying to download
  2. in the data tab, you see API command and download all button
  3. click download all button, which will prompt you to the rules tab if you have not accepted terms and conditions
  4. After you accepted terms, go back to data tab where you can either click download all (download a zip file to your HDD) or copy & paste API command to your Colab env.

Really thanks to you PanMichael

NARAYANAREDDY37 commented 4 years ago

you might need to agree to the competitions terms before you can download via api. That's what happened to me.

Thank you so much!!

bfhaha commented 3 years ago

https://www.kaggle.com/c/dogs-vs-cats/rules Click the "I Understand and Accept" button.

sam-the-programmer commented 3 years ago

you might need to agree to the competitions terms before you can download via api. That's what happened to me.

@renschler

I tried that, but it already says I have accepted the rules, but if I click the download all button and it tells me I haven't accepted the rules. Same for downloading the data via the command line api.

chAwater commented 2 years ago

Duplicate of #87

Disservin commented 4 months ago

i realized i simply had the wrong name for the dataset.. error was a bit misleading

nitinvedwal7111 commented 2 months ago

Same here. I looked up at the dataset and they don't allow it to be downloaded there either.

image Screenshot 2024-07-15 105848

USE COPY API COMMAND