Hello! I'm trying to download `testicon.png` from ...
# help
m
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
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
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
here's a screenshot from the site
s
What language are you trying to run that code in?
m
swift
this is solved by a policy update.
n
Thread was archived by @mhaezaragoza. Anyone can send a message to unarchive it.