Skip to content

[Creating Dataset Version is not working] - Permission denied #181

Open
@ai-nikolai

Description

@ai-nikolai

@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:

requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.kaggle.com/api/v1/datasets/create/version/...

It seems like this function does not work:

def _create_dataset_version(


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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions