Issue While uploading to bucket - Is return data changed?
Seems like the response after uploading a file to the storage bucket has changed.
When we upload a file to the bucket in Supabase, it will return an UploadResponse
This has a "path", which was like this: folder/file
Now, it is returning like ('folder','file')
4 Replies
This is what I see with latest supabase-js

Thanks for looking it, in python, iam getting response like this
UploadResponse(path=('resumes', 'e608383c-0740-4266-a3bd-d9f491f24efa', 'base', 'Example CV (classic) (1).pdf'), full_path='switchmate/resumes/e608383c-0740-4266-a3bd-d9f491f24efa/base/Example CV (classic) (1).pdf', fullPath='switchmate/resumes/e608383c-0740-4266-a3bd-d9f491f24efa/base/Example CV (classic) (1).pdf')"}
You should tag your post with Python. Pretty much we assume js otherwise.
I have no way to know what Python client returns. One of the maintainers of that is around here alot.
Or mention it as an issue in the repository for it.
This is the documented response for Python.
For what it is worth. https://supabase.com/docs/reference/python/storage-from-upload
