Branch preview branch max storage issue

Yesterday I tried to use a branch for the first time with my supabase project. My app host slightly heavy files and I am a pro tier user to support that. But when the preview branch ran I got this error Error status 400: {"statusCode":"413","error":"Payload too large","message":"The object exceeded the maximum allowed size"} so the test failes even tho its not technicaly wrong, I'm guessing the preview branch behaves as a free user. Is there a way to work around this?
6 Replies
garyaustin
garyaustin6h ago
There are two size limit settings. One overall for storage and one per bucket. Make sure they are set on the branch. Also each branch was part of your pro org I thought.
Redfill The Canadien
when i manualy create a branch for staging for example it works fine. but I got the error when i tried to merge my branch on github. It automatically created a branch preview and that one failed I set my storage setting per bucket in the config file. my two default size bucket were created fine, just not my ones over 50 MB
garyaustin
garyaustin6h ago
Check the UI for both settings.
Redfill The Canadien
in the UI global file size limit 200 MB bucket file size limit 150 MB bucket that worked 50 MB
garyaustin
garyaustin6h ago
So if that is dashboard for the preview project not sure. But if they let you set size then not acting like free.
There is also something about needing to use multi part uploads for “large” files but should break for any instance.
If the settings are correct then I’m out of ideas.
Redfill The Canadien
Alright no worries, its not blocking right now since i can still manually test it. but ill contact support if it end up being a bigger issue thanks!

Did you find this page helpful?