You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
Just a quick note. I am trying to upload stuff using the kagglehub.upload_dataset() function. Uploading once works very well and everything goes smoothly. Uploading a second time (using the same code), throws a permission denied error.
Specifically:
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.kaggle.com/api/v1/datasets/create/version/...
You must wait until the first version finish processing (happens async after kagglehub.dataset_upload(...) returns) before you can upload a second version. For subsequent versions, you can have multiple request in parallel.
@rosbo Hi Kagglehub team,
Problem:
Just a quick note. I am trying to upload stuff using the
kagglehub.upload_dataset()
function. Uploading once works very well and everything goes smoothly. Uploading a second time (using the same code), throws a permission denied error.Specifically:
It seems like this function does not work:
kagglehub/src/kagglehub/datasets_helpers.py
Line 27 in 38395f0
Expected outcome:
Running
kagglehub.upload_dataset()
twice would create a new version of the dataset, instead of throwing an error.Let me know what the issue might be and how to remedy it.
The text was updated successfully, but these errors were encountered: