Kaggle / kaggle-api

Official Kaggle API
Apache License 2.0
6.01k stars 1.06k forks source link

Cannot Use API to submit or submissions #488

Open Rlyslata opened 11 months ago

Rlyslata commented 11 months ago

Firstly, i have binded my e-mail , verified my phone , accepted Rules on website, and I can submit csv , find my submissions on website, and use api "kaggle competitions list" to get the lists. My kaggle version==1.5.15

  1. When i try to use "kaggle competitions submissions dog-breed-indentification", i got "403 - Forbidden - Permission 'competitions.participate' was denied" error message

  2. When i try to use "kaggle competitions submit -c dog-breed-identification -f submission.csv -m "Message"", i got WARNING Retrying (Retry(total=9, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /upload/storage/v1/b/kaggle-competitions-submissions/o?uploadType=resumable&upload_id=ADPycdvJQAqERBTkvg0QRnC1EIJezF7nboWJzDcsGIbPzJUCBRGRRmIKulv_fFWRzRq_fhV94YOhX24OotdD6HiP4x0fCg error message

  3. Furthermore,i can use "kaggle competitions download -c dog-breed-identification" to download file, but i got error message "403 - Forbidden - Permission 'competitions.get' was denied" when i try to excute "kaggle competitions files dog-breed-indentification"

jplotts commented 5 months ago

Hi @Rlyslata - for points (1) and (3), you have a typo in the name of the competition ("identification" not "indentification"). I'm not able to reproduce the issue in (2), but it seems like it might have been a transient issue. If you're still having this problem, can you please respond back?