# AutoTrain - unable to upload the dataset

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392%3E%5C
**Category:** 🤗AutoTrain\
**Created:** [August 8, 2022, 8:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392 "2022-08-08T20:48:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![inouts](https://avatars.discourse-cdn.com/v4/letter/i/ebca7d/32.png) [@inouts](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Finouts)%5C
**Post date:** [August 8, 2022, 8:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392%2F1 "2022-08-08T20:48:44Z")

</div>

Hi,  
I wanted to try AutoTrain but I’m unable to upload the dataset (a Token Classification task).

After I choose the file to upload there is a modal to choose the Split type (Training / Validation / Auto) and map columns. After clicking “Add to project” button _“Uploading your file. This may take up to a few minutes, depending on your connection speed.”_ message appears and it never disappears. From the Network tab in the browser’s dev tools I can see that there is some kind of CORS error.

AutoTrain project id: [AutoTrain - HuggingFace](https://ui.autotrain.huggingface.co/11576/data)

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fradames)%5C
**Post date:** [August 8, 2022, 9:41pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392%2F2 "2022-08-08T21:41:18Z")

</div>

hello @inouts, indeed your data was not upload. Could you share more details? which browser were you using? what’s the file format and size? thanks

---

<div class="post-metadata">

**Author:** ![inouts](https://avatars.discourse-cdn.com/v4/letter/i/ebca7d/32.png) [@inouts](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Finouts)%5C
**Post date:** [August 8, 2022, 10:45pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392%2F3 "2022-08-08T22:45:21Z")

</div>

@radames it’s a 193MB CSV file. At first I tried Firefox a few times and then Chrome.

After first (failed) try I’ve noticed that a new dataset was created - but it wasn’t connected to the AutoTrain’s project. Project’s AutoTrain data page was still empty. So I deleted it in the hope that the whole process will be successful in the next try.

---

<div class="post-metadata">

**Author:** ![inouts](https://avatars.discourse-cdn.com/v4/letter/i/ebca7d/32.png) [@inouts](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Finouts)%5C
**Post date:** [August 9, 2022, 8:12am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392%2F4 "2022-08-09T08:12:12Z")

</div>

There is currently another error when trying to upload a file:

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/3/36977d54909a1f638989166ee4209c19af84af74.png)

---

<div class="post-metadata">

**Author:** ![sbrandeis](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sbrandeis/32/32580_2.png) [@sbrandeis](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsbrandeis)%5C
**Post date:** [August 9, 2022, 10:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392%2F5 "2022-08-09T10:05:01Z")

</div>

Hello @inouts

When creating a project in AutoTrain, an associated dataset repo is created on the HuggingFace Hub to store your data files.  
When you upload a file through AutoTrain, it tries to push it to that dataset repo. Since you deleted it, that dataset repo cannot be found (hence the 404 - not found error).  
Creating a dataset repo named ‘autotrain-data-inouts-token-classification’ on the HuggingFace Hub should solve your last issue.

Let me know if it helps!

---

<div class="post-metadata">

**Author:** ![inouts](https://avatars.discourse-cdn.com/v4/letter/i/ebca7d/32.png) [@inouts](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Finouts)%5C
**Post date:** [August 9, 2022, 10:43am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392%2F6 "2022-08-09T10:43:46Z")

</div>

Thanks @sbrandeis ! I recreated the dataset manually and there is no more 404 error.

We’re back to the first error 🙂 :

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/9/9b6bb5643c592882791d4f3e0829a22a8c0ee153.png)

I plan to convert the dataset to the json format and see if it helps.

---

<div class="post-metadata">

**Author:** ![inouts](https://avatars.discourse-cdn.com/v4/letter/i/ebca7d/32.png) [@inouts](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Finouts)%5C
**Post date:** [August 9, 2022, 11:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392%2F7 "2022-08-09T11:05:00Z")

</div>

So I converted dataset into JSONL format.

Preloaded data shown in the initial modal looked promising (lists detected):

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/c/c56effe8b83d165e22a0faebd42fbbe05a7c5aac.png)

---

<div class="post-metadata">

**Author:** ![inouts](https://avatars.discourse-cdn.com/v4/letter/i/ebca7d/32.png) [@inouts](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Finouts)%5C
**Post date:** [August 9, 2022, 11:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-unable-to-upload-the-dataset%2F21392%2F8 "2022-08-09T11:06:05Z")

</div>

but unfortunately the original error is still there:

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/0/06665a583c826d4b154a03dc32d0abca49824767.png)

_(sorry for the second message in a row but I was unable to upload the second screenshot)_
