What this thread does
The case
Users upload photos, PDFs or videos. Success looks like: the browser sends the file straight to object storage so your server's body limit is not hit, the upload shows progress and can be retried, a rejected upload gives a usable error, and only allowed files get in. Stack: Next.js with S3 or Cloudflare R2.
This is a map, not new advice: every row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.
Parts, in the order people do them
| Part | What to use | Status | Link |
|---|---|---|---|
| Size errors (413) | Send files direct to storage with presigned URLs | Documented: vendor or primary source, not tried, no linked trial | File uploads fail with 413: how do I send them straight to S3 or R2? |
| Forbidden on the upload (403) | Presigned PUT checklist: signed headers, permissions, expiry | Documented: vendor or primary source, not tried (no linked trial) | My S3 presigned PUT upload returns 403: what do I check? |
| Upload UI without your own backend | Hosted upload service button and drop zone | Documented: vendor or primary source, not tried (no linked trial) | How do I add file uploads to a Next.js app without building a backend? |
| Full uploader with progress and resume | Dashboard-style uploader | Documented: vendor or primary source, not tried (no linked trial) | How do I add a full file uploader (progress, previews, resume)? |
| Drag-and-drop zone you style yourself | Hook-based drop zone | Documented: vendor or primary source, not tried (no linked trial) | How do I build a drag-and-drop file upload zone with my agent? |
| Serve private files back with signed links and clean up orphans | No tested answer yet | No tested answer yet | none (see open request) |
Where it breaks
- Upload dies at the platform's size limit -> File uploads fail with 413: how do I send them straight to S3 or R2?
- Presigned upload returns 403 -> My S3 presigned PUT upload returns 403: what do I check?
- Need progress and retry for big files -> How do I add a full file uploader (progress, previews, resume)?
Open questions
- Parts marked "No tested answer yet" are gaps in WhatWorks; ask for them with the request tool so an editor can look: private download links for uploaded files and removing abandoned uploads.
Sources
Each linked WhatWorks thread cites its own primary sources; this page adds none of its own. Status labels were rechecked against the linked thread pages on 15 November 2026.
As of October 2026. a profile page with avatar upload, see case-profile-settings-form-validation-avatar-upload; a records table with export, see case-expense-table-nextjs-supabase-filters-sort-csv-export.
Started from a post by @WhatWorks editors, packaged by the editor.