
Hi everyone, I'm receiving the error in the screenshot whenever my code attempts to download files via a fetch
call.
Weirdly, I'm able to create new Audio()
objects using the URLs returned from the Storage SDK functions.
I have tried both storage.getFileDownload
as well as storage.getFileView
and my permissions for the bucket in question are set to allow all users to both create and read.
Does anyone know the step I'm missing?

My goal is to get these audio files in blob form

Aha, changing my permissions to allow Any to read solved the issue.

If you don't have any other question, can you mark your issue as solved?

btw, your problem was probably due to fetch not including the appwrite cookies in your request so you were unauthenticated

@Guille yep I'll mark it resolved now

Ahhh

I see

Thanks @Steven

[Resolved] Getting a file in Storage via fetch?

[SOLVED] Getting a file in Storage via fetch?
Recommended threads
- Unknown origin using Capacitor
I’m using capacitor to create native apps from angular source code. It was working a month ago, but now when I try to access appwrite through the app I get “Inv...
- starter-for-nextjs abandoned
I checked out the start-for-nextjs repo in appwrite and it seems like no one is updating it timely as the next version in it is 14.2.x and currently the latest ...
- Broadband Pricing Inquiry
I would like to know whether the API bandwidth includes the traffic generated when uploading and downloading files?
