Failed to Fetch error on URL download

Anyone seeing the URL Download workflow action no longer working today when it was working previously? I get a failed to fetch error.

I also tried using the javascript code that was originally offered before the no-code option was available and get the same error. If I just paste the url into my browser it works fine.

Did you try to download the same file as before ? It could be because you’re trying to download a link that doesn’t allow another domain to do it.

I’m not sure what you mean. The files are stored in Google Drive. They are publicly shared if you have the URL. I store the Google Drive file ID in xano, then construct the url as follows:

https://drive.google.com/uc?export=download&id=

The workflow this issue was occurring is initiated with a button click, then there is a workflow action that sends a webhook to Make, Make then runs a process that creates and stores a PDF file to Drive. The workflow has a passthrough condition based on receiving a Success response from Make. I then used the URL Download action to download the file from Drive. Ideally I want a one-click create and download a file.

My workaround is to instead create the file, navigate to a PDF viewer page with a button to download the file. Using the button element Link To–>Download File works using the same URL I was using in the original workflow. Not ideal, but works.

What I mean is you can’t download any publicly available file on internet because of browser policies. The server hosting the file has to allow the requester (here a website under a WeWeb domain or a custom domain name) to download it.

For exemple you can use the download from url with suapabse stored file because it mean to be. But maybe the service hosting your file (behind the url) doesnt allow the file to be downloaded from another domain. For this kind of files the only way to download them is to open them in another tab, because then it will be open from the source domain.

Got it, thanks for the explanation. I’ll be moving to Google Cloud Storage at some point and will revisit then.