https://supabase.com/ logo
#help
Title
# help
m

mhaezaragoza

06/16/2022, 5:39 AM
Hello! I'm trying to download
testicon.png
from a bucket named
test
with a folder
test
using the code below
Copy code
client!.storage.from(id: "test").download(path: "test/testicon.png")
I receive this message:
Copy code
StorageError(statusCode: Optional(400), message: Optional("Not found"))
Can anyone help me see what I'm doing wrong?
n

Needle

06/16/2022, 5:39 AM
Hello @mhaezaragoza! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
s

silentworks

06/16/2022, 11:10 AM
Can you check from inside the Supabase Dashboard to make sure the path is correct. You should see this object in the bucket inside of the Storage section of the dashboard.
m

mhaezaragoza

06/16/2022, 12:04 PM
here's a screenshot from the site
s

Scott P

06/16/2022, 2:42 PM
What language are you trying to run that code in?
m

mhaezaragoza

06/16/2022, 2:58 PM
swift
this is solved by a policy update.
n

Needle

06/21/2022, 4:34 AM
Thread was archived by @mhaezaragoza. Anyone can send a message to unarchive it.