# Can not load my private dataset

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcan-not-load-my-private-dataset%2F90613%3E%5C
**Category:** Beginners\
**Created:** [June 6, 2024, 6:56am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcan-not-load-my-private-dataset%2F90613 "2024-06-06T06:56:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangguan1995](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wangguan1995](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fwangguan1995)%5C
**Post date:** [June 6, 2024, 6:56am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcan-not-load-my-private-dataset%2F90613%2F1 "2024-06-06T06:56:35Z")

</div>

doesn’t exist on the Hub or cannot be accessed

> <https://github.com/huggingface/datasets/issues/6958>
>
> \### Describe the bug
> 
> 
> \`\`\`
> File "/root/miniconda3/envs/gino\_conda/lib/pyth…on3.9/site-packages/datasets/load.py", line 1852, in dataset\_module\_factory
> raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg)
> datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed
> \>\>\> dataset = load\_dataset("xxxx", token=True)
> 
> 404 error 404 Client Error. (Request ID: Root=xxxx)
> 
> Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx.
> Please make sure you specified the correct \`repo\_id\` and \`repo\_type\`.
> If you are trying to access a private or gated repo, make sure you are authenticated.
> Traceback (most recent call last):
> File "\<stdin\>", line 1, in \<module\>
> File "/root/miniconda3/envs/gino\_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load\_dataset
> builder\_instance = load\_dataset\_builder(
> File "/root/miniconda3/envs/gino\_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load\_dataset\_builder
> dataset\_module = dataset\_module\_factory(
> File "/root/miniconda3/envs/gino\_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset\_module\_factory
> raise e1 from None
> File "/root/miniconda3/envs/gino\_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset\_module\_factory
> raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg)
> datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed
> \`\`\`
> 
> \### Steps to reproduce the bug
> 
> 123
> 
> \### Expected behavior
> 
> 123
> 
> \### Environment info
> 
> 123

### Describe the bug

```auto
  File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory
    raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg)
datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed
>>> dataset = load_dataset("xxxx", token=True)

404 error 404 Client Error. (Request ID: Root=xxxx)

Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2593, in load_dataset
    builder_instance = load_dataset_builder(
  File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 2265, in load_dataset_builder
    dataset_module = dataset_module_factory(
  File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory
    raise e1 from None
  File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory
    raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg)
datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on the Hub or cannot be accessed

```

### Steps to reproduce the bug

123

### Expected behavior

123

### Environment info

123

---

<div class="post-metadata">

**Author:** ![wangguan1995](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wangguan1995](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fwangguan1995)%5C
**Post date:** [June 6, 2024, 7:01am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcan-not-load-my-private-dataset%2F90613%2F2 "2024-06-06T07:01:39Z")

</div>

![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/4/e/4e73bfa09bf4157175d65dda4da90c543b6afe06.png)  
Works fine of the link

---

<div class="post-metadata">

**Author:** ![arnoldmatt](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/arnoldmatt/32/27817_2.png) [@arnoldmatt](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Farnoldmatt)%5C
**Post date:** [June 6, 2024, 7:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcan-not-load-my-private-dataset%2F90613%2F3 "2024-06-06T07:47:16Z")

</div>

It sounds like there might be an issue with the repository ID or your authentication. Make sure you’re using the correct repo\_id and that you are properly authenticated for private datasets. Double-check your token and repo access settings.
