© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
3y ago
•
4 replies
Rick
not able to download from privat bucket
so i have a privat bucket tickets
. i have set my policies for storage
.objects and storage
.buckets and the bucket itself
"tickets
"
i can upload and delete no problem
.
but when i download using this function
,nothing happens
:
const
{ data
, error
}
= await supabase
.storage
.from
(
'tickets
'
)
.download
(path
)
console
.log
(data
)
i get this in my console for the data
:
Blob
{size
: 67712
, type
:
'application
/pdf
'
}
and also this for the
"api call
" from the developer tools
,which says status OK
Anfrage
-URL
:
https://wydzufiwwmtmoeariusj.supabase.co/storage/v1/object/tickets/c26cdf3c-835c-486d-ad79-0c38293ccfc8/21385167-e8e9-4b8b-8c08-7e77ddccc44d/1702026035773_1701987100359_1701967014495_weweweew.pdf
Anfragemethode
:
GET
Statuscode
:
200 OK
(von Datentr
ägercache
)
Remote
-Adresse
:
104
.18
.38
.
1
0
7
:443
Richtlinien F
ür Referrer
-URL
:
strict
-origin
-when
-cross
-origin
now when i visist the url i get this message in the browser
:
{
"statusCode
"
:
"400
"
,
"error
"
:
"Error
"
,
"message
"
:
"headers must have required property
'authorization
'
"
}
i have tried everything possible for hours
.
.
. i down know how to get it to work
.
.
can someone help
?
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Not able to download files from storage bucket
S
Supabase / help-and-questions
2mo ago
How to download data from a bucket?
S
Supabase / help-and-questions
4y ago
Not able to upload avatar to storage bucket using formidable
S
Supabase / help-and-questions
4y ago
Not able to login from CLI(windows)
S
Supabase / help-and-questions
4y ago