-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403 - Forbidden #87
Comments
Need way more information. What version of the API are you running? Have you accepted the competition's rules? Are you able to download files using the web ui? |
I have same issue. These commands worked well.
But kaggle competitions download -c titanic and kaggle competitions download -c titanic -f train.csv didn't work. This command return 403 - Forbidden My env. is |
This was my mistake. Incoming users need to accept rules. After accepting rules we can download dataset by using kaggle command. https://www.kaggle.com/c/titanic/rules But in this case, kaggle command just return "403 - Forbidden". I think this is unkind for new users. You should improve and client should show useful information for us(ex. url). |
thank you |
@k-hashimoto But why did I click the accept botton in that webpage and go back to use kaggle command to download it, which still got a 403 -forbidden error? |
@LoveJTimberlake Are you also using the latest version of the API? Are you able to download files through the website? |
@rysteboe Yes API's version is 1.4.7.1 and Python3.6 |
@LoveJTimberlake you have to have a verified phone number in order to download competition data. If that doesn't work, please reach out here - https://www.kaggle.com/contact, because this doesn't sound like an API specific problem. |
i verified my phone number and also verified the code given by kaggle to my phone but still getting 403 error |
i am also unable to download dataset even after verifying my phone number .i am using python3 and kaggle new API.i am using following command in collab. |
If you still get |
You need to click |
Correct. you must have done with all the prerequisite of kaggle like you must have your number verified and other basic verification along with it you must have joined the competetion. This a consolidated answer which worked for me as whole. |
@bingo0123 Click on the "Late Submission" button on the Kaggle page of the competition whose data you want to download, and retry the same command. |
I'm working on google colab and I've been through the same problem. but i did two tings .
|
You need to accept the rules first |
Can we replace that ambiguous |
Exactly correct !!! |
I am getting 401 error after accepting the rules and getting into the competition I am able to download it as a zip but not through api. |
Wow, yes this needs way more information for the user. The only way I knew about this was finding this GitHub issue |
And still... |
this will be a good solution |
If verifying the phone number is not working, click the 'Late Submission" button, it'll work. |
Why is this issue closed? |
Facing the same issue, while trying the notebook from the fast.ai course, to run on my local computer!
|
I'll post my solution to the problem. |
Yet another way this 403 error can happen is if you use the url for the competition (e.g. the first column in Use: |
kaggle datasets download -d frabbisw/facial-age its working for me |
For the datasets, you can use |
Hi ! I am experiencing the same issue - and the file is the kaggle folder and I use the username and I get this: 403 - Forbidden - Permission 'competitions.participate' was denied |
What command did you use and for which competition? |
Sorry for resurfacing this, but I am receiving this same error message when trying to join this competition to download its dataset: https://www.kaggle.com/c/twitter-bot-classification/data I am facing this on the website, which I believe consumes the API. |
This is a issue you will get when the competition is "Invitation Only" but you don't have invitation. |
Thanks for clarifying it. Is there a reliable way to identify if a given competition is Invitation Only? I did not find this information on Kaggle's website. btw, I believe the API and the website should show a clearer error message for this case. "You are not invited to the competition" would be better than the current message. |
kaggle competitions download favorita-grocery-sales-forecasting -f test.csv.7z
403 - Forbidden
The text was updated successfully, but these errors were encountered: