# 504 server Error hile upload csv files

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-server-error-hile-upload-csv-files%2F43677%3E%5C
**Category:** 🤗Datasets\
**Created:** [June 18, 2023, 8:09am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-server-error-hile-upload-csv-files%2F43677 "2023-06-18T08:09:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdelkareem](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abdelkareem/32/30422_2.png) [@Abdelkareem](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAbdelkareem)%5C
**Post date:** [June 18, 2023, 8:09am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-server-error-hile-upload-csv-files%2F43677%2F1 "2023-06-18T08:09:33Z")

</div>

I have created my first dataset about text summarization i made it private for my business purpose for one.  
I uploaded a file with the HfApi api from the documentation  
from huggingface\_hub import HfApi  
api = HfApi()

```auto
api.upload_folder(
    folder_path="/home/kareem/Desktop/deep_learning/nlp/summarization_data/benchmark",
    repo_id="Abdelkareem/arabic_summarization_text",
    repo_type="dataset",
)

```

I have mulitple files when i try to upload them with folder of on a single file i get 504 server error i have spend around 3 hours trying agin mulitple times but in vain  
any help!

---

<div class="post-metadata">

**Author:** ![graelo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/graelo/32/16537_2.png) [@graelo](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fgraelo)%5C
**Post date:** [June 18, 2023, 8:20am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-server-error-hile-upload-csv-files%2F43677%2F2 "2023-06-18T08:20:25Z")

</div>

Hi,

Same issue for me pushing parquet files and a readme. I’m pushing using git, so I guess this is not due to the front facing API but something else internally.

Good luck solving this, team!

---

<div class="post-metadata">

**Author:** ![graelo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/graelo/32/16537_2.png) [@graelo](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fgraelo)%5C
**Post date:** [June 18, 2023, 5:30pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-server-error-hile-upload-csv-files%2F43677%2F3 "2023-06-18T17:30:03Z")

</div>

I’d say this is now fixed. Thanks!

---

<div class="post-metadata">

**Author:** ![Wauplin](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/wauplin/32/40815_2.png) [@Wauplin](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FWauplin)%5C
**Post date:** [June 19, 2023, 7:53am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-server-error-hile-upload-csv-files%2F43677%2F4 "2023-06-19T07:53:28Z")

</div>

Hi @Abdelkareem , sorry you experienced those issues. We had some extra load on the server causing timeouts this weekend. Would it be possible to retry and tell us how it goes? Also, can you add more logging to your script and then copy-paste the full output + stacktrace to this post so that we can look into it? Thanks in advance!

* * *

To enable logging, run those 2 lines at the top of your script:

```python
from huggingface_hub import logging
logging.set_verbosity_debug()

```

(@graelo sorry as well about your issue but glad to know it came back to normal now 🙂 )

---

<div class="post-metadata">

**Author:** ![graelo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/graelo/32/16537_2.png) [@graelo](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fgraelo)%5C
**Post date:** [June 19, 2023, 8:07am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-server-error-hile-upload-csv-files%2F43677%2F5 "2023-06-19T08:07:18Z")

</div>

No worries, thanks for the update and the verbosity hint: that’s very handy!

---

<div class="post-metadata">

**Author:** ![Abdelkareem](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abdelkareem/32/30422_2.png) [@Abdelkareem](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAbdelkareem)%5C
**Post date:** [June 21, 2023, 4:00pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-server-error-hile-upload-csv-files%2F43677%2F6 "2023-06-21T16:00:19Z")

</div>

I worked after 2 hours correctly, thanks all ! you are dowing a great work.

---

<div class="post-metadata">

**Author:** ![Abdelkareem](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abdelkareem/32/30422_2.png) [@Abdelkareem](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAbdelkareem)%5C
**Post date:** [January 12, 2024, 7:49pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F504-server-error-hile-upload-csv-files%2F43677%2F7 "2024-01-12T19:49:58Z")

</div>

I am web developer and sometime a machine learning engineer  
i have a [machine learning blog](https://kareemai.com)  
and some other business website that i manage.  
[شركة عزل اسطح بمكة](https://awazly.com)  
[شركة عزل أسطح بمسقط عمان](https://azlzone.com)  
[شركة عزل أسطح بالكويت](https://shelid.com)  
[شركة تمديد غاز مركزي](https://emdadelgaz.com)  
[لحام خزانات فيبر جلاس بمكة](https://al-tasmim.com)

Hope you find my content helpful to you!
