You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Moving files in supabase storage fails with a generic "Internal Server Error" message and 500 status code.
To Reproduce
Steps to reproduce the behavior:
Using the local env via the supabase cli (supabase start), create a storage bucket (e.g., images).
Upload a file to the bucket. Mine was called tmp/a79c2c537a14cc1d950b4734cd0ef700b134fbb5ff63d7ffcc3a7ab0cef90272 (I also tested with shorter filenames, e.g. moving tmp/abc.jpg to headers/abc.jpg also fails)
Attempt to move the file to a new path in the same bucket. In my case, this was to the path headers/a79c2c537a14cc1d950b4734cd0ef700b134fbb5ff63d7ffcc3a7ab0cef90272. This can be via the studio, the cli, or the TypeScript API. CLI command for reference:
Expected behavior
File should be moved to the new path.
(In the event of an Internal Server Error, it would be ideal to have more context or a way to figure out what actually went wrong. Presumably Kong is eating the error; I've included the 500 from the storage server logs below, but it doesn't contain actionable information)
For reference, copying via the same interface on the same server works as expected. The following code succeeds without any errors:
Additional context
If applicable, add any other context about the problem here.
Version of supabase-js v2.47.2 and version included via supabase-cli and supabase studio (actions are also reproducible in studio but not described in detail above)
Describe the bug
Moving files in supabase storage fails with a generic "Internal Server Error" message and 500 status code.
To Reproduce
Steps to reproduce the behavior:
supabase start
), create a storage bucket (e.g.,images
).tmp/a79c2c537a14cc1d950b4734cd0ef700b134fbb5ff63d7ffcc3a7ab0cef90272
(I also tested with shorter filenames, e.g. movingtmp/abc.jpg
toheaders/abc.jpg
also fails)headers/a79c2c537a14cc1d950b4734cd0ef700b134fbb5ff63d7ffcc3a7ab0cef90272
. This can be via the studio, the cli, or the TypeScript API. CLI command for reference:supabase storage --local mv --create-ticket --debug --experimental ss:///images/tmp/a79c2c537a14cc1d950b4734cd0ef700b134fbb5ff63d7ffcc3a7ab0cef90272 ss:///images/headers/a79c2c537a14cc1d950b4734cd0ef700b134fbb5ff63d7ffcc3a7ab0cef90272
Alternatively, via TypeScript:
Error is a 500 error ("Internal Server Error").
Expected behavior
File should be moved to the new path.
(In the event of an Internal Server Error, it would be ideal to have more context or a way to figure out what actually went wrong. Presumably Kong is eating the error; I've included the 500 from the storage server logs below, but it doesn't contain actionable information)
For reference, copying via the same interface on the same server works as expected. The following code succeeds without any errors:
System information
469df68c669641419b9445467f7af38b
MacOS 15.3
v2.15.8
v28.0.1 build 068a01e
Additional context
If applicable, add any other context about the problem here.
v2.47.2
and version included via supabase-cli and supabase studio (actions are also reproducible in studio but not described in detail above)v22.11.0
The text was updated successfully, but these errors were encountered: