Category: Supabase and databases

Supabase Storage: Upload Exceeds File Size Limit

Read this guide in Polish

Loading a larger attachment ends with a size limit error.

How to identify the source of the problem

Check the object size limit set in the bootet and plan and the size of the actual request.

Compare the result for the authorized and unauthorised user, project name and exact error code.

Repair steps

Use resumable upload for large files or increase the limit according to the needs and capabilities of the plan.

How to Test Solution

A correct larger file is saved, and indeed too large gives a predictable message.

Security and restrictions

Change permissions and scheme first on test data with backup. Do not put service role in your browser.