-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createUploadSignedUrl
with upsert does not work
#1246
Comments
Hello @saqibameen Can you provide the code on how you are uploading the file using the signedUploadUrl? |
@fenos so the error occurs at |
Our prod is impacted coz of this. @thorwebdev has more context. |
@ahmadawais I'm not able to reproduce this either. I tested with this: https://github.com/calcom/platform-starter-kit/blob/main/src/app/api/supabase/storage/route.ts#L18-L20 and it works fine. Can you double check your |
You can verify that the |
@thorwebdev the |
@thorwebdev, @fenos thank you for checking. It turned out it was local only issue. It worked fine on production. I am now able to successfully generate Locally, I have updated the supabase package to latest and also tried updating the db container. I believe these logs: https://supabase.com/dashboard/project/_/logs/storage-logs are not locally available. Not sure why, any ideas? |
Bug report
There is an existing issue, supabase/storage#502 but it is closed without resolution.
Describe the bug
I am unable to create a signedUploadUrl if the file already exists. I am using
upsert: true
but it still gives resource already exists error.To Reproduce
Expected behavior
It should create a new signedUploadUrl.
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: