# Download file from URL - Failed to fetch

**URL:** <https://community.weweb.io/t/download-file-from-url-failed-to-fetch/9627>\
**Category:** How do I?\
**Created:** [July 9, 2024, 5:09pm UTC](https://community.weweb.io/t/download-file-from-url-failed-to-fetch/9627 "2024-07-09T17:09:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![artmnzs](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@artmnzs](https://community.weweb.io/u/artmnzs)\
**Post date:** [July 9, 2024, 5:09pm UTC](https://community.weweb.io/t/download-file-from-url-failed-to-fetch/9627/1 "2024-07-09T17:09:38Z")

</div>

Hey, I’m trying to download a file from an URL that was created with the component “File upload”. So, when the user attach a File in the file uploader, I get this file and store at my Database. Once I try to download the file, previously saved by the user, using the action “Download file from URL”, I get the error “Failed to fetch”. Anyone has any idea how to solve this problem?

![Screenshot_3](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/bfb2ecdd86242a2a8b6238e15d98bb38ae283975.png)

---

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [July 10, 2024, 12:20pm UTC](https://community.weweb.io/t/download-file-from-url-failed-to-fetch/9627/2 "2024-07-10T12:20:03Z")

</div>

Hey @artmnzs 👋  
Can you provide more context? That would help figuring out what’s the problem here 🙂  
Can you show the whole workflow? What database are you using?

---

<div class="post-metadata">

**Author:** ![artmnzs](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@artmnzs](https://community.weweb.io/u/artmnzs)\
**Post date:** [July 10, 2024, 6:45pm UTC](https://community.weweb.io/t/download-file-from-url-failed-to-fetch/9627/4 "2024-07-10T18:45:12Z")

</div>

So, I was responding your message and the workflow just got working all by himself. Dunno if there was any updates or so. But thank you anyway 🙂

---

<div class="post-metadata">

**Author:** ![FHEXL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/fhexl/32/13607_2.png) [@FHEXL](https://community.weweb.io/u/FHEXL)\
**Post date:** [November 19, 2024, 8:55pm UTC](https://community.weweb.io/t/download-file-from-url-failed-to-fetch/9627/6 "2024-11-19T20:55:55Z")

</div>

I have the same problem. I get a Google Cloud Storage signed URL returned. Download file via URL is not working. Same error. Navigate to external URL and show the file (PDF) in a new tab does work. How can I directly download the file?

---

<div class="post-metadata">

**Author:** ![dingan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dingan/32/10624_2.png) [@dingan](https://community.weweb.io/u/dingan)\
**Post date:** [November 21, 2024, 1:18pm UTC](https://community.weweb.io/t/download-file-from-url-failed-to-fetch/9627/7 "2024-11-21T13:18:52Z")

</div>

I had the same problem.  
I ended up just navigating to that download url in a new tab since download file didnt work.  
Its not a perfect solution but worked for my usecase.

---

<div class="post-metadata">

**Author:** ![FHEXL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/fhexl/32/13607_2.png) [@FHEXL](https://community.weweb.io/u/FHEXL)\
**Post date:** [November 21, 2024, 9:00pm UTC](https://community.weweb.io/t/download-file-from-url-failed-to-fetch/9627/8 "2024-11-21T21:00:27Z")

</div>

I created a support ticket

---

<div class="post-metadata">

**Author:** ![niknik39](https://avatars.discourse-cdn.com/v4/letter/n/f04885/32.png) [@niknik39](https://community.weweb.io/u/niknik39)\
**Post date:** [July 20, 2026, 7:07pm UTC](https://community.weweb.io/t/download-file-from-url-failed-to-fetch/9627/9 "2026-07-20T19:07:11Z")

</div>

Did this issue get resolved? One of my users is experiencing this in my production system, but it only happened on their environment - Mac with a Chrome browser. No one else has the problem. I see no errors on my backend, everything works normally, so the failures appears to be from the Download file from URL function.
