© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
5 replies
CJC

Creating signed urls with download true missing file extension

I've been uploading a file to supabase storage and creating a signed url for that resource with the
download: true
download: true
option.

await supabase.storage.from(SUPABASE_BUCKET_NAME).createSignedUrl(filePath, 600, { download: true }); // 10 minutes
await supabase.storage.from(SUPABASE_BUCKET_NAME).createSignedUrl(filePath, 600, { download: true }); // 10 minutes


When i click the generated url, it doesnt seem to append the correct file extension to the resource name and just gives me a plain text file rather than the original file type (ics).


Using the dashboard, I can see the files i've uploaded have been correctly stored and I'm able to download them via the UI.

Any ideas why this is happening?
image.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Signed urls with api call
SupabaseSSupabase / help-and-questions
7mo ago
Supabase signed URLs returning 404
SupabaseSSupabase / help-and-questions
14mo ago
new row violates row-level security policy while creating signed urls
SupabaseSSupabase / help-and-questions
2mo ago
Max expiration limit for Supabase signed URLs
SupabaseSSupabase / help-and-questions
2mo ago