payload icon indicating copy to clipboard operation
payload copied to clipboard

Bug with uploading video/image between production and development

Open vuquangpham opened this issue 2 years ago • 4 comments

Link to reproduction

No response

Payload Version

3.0

Node Version

22

Next.js Version

15.0.0-canary.120

Describe the Bug

Hey team, I noticed a bug with upload medias field, when in development mode, it works correctly to upload a file, but in production, when I put a video/image, it's showing a message with file is too large 🙂 (file is the same in both dev and prod)

Reproduction Steps

https://github.com/user-attachments/assets/32dbaf15-5636-41ef-b04c-f78a5f99a6b4

Adapters and Plugins

supabase postgresql, storage-s3

vuquangpham avatar Aug 19 '24 18:08 vuquangpham

https://payloadcms.com/docs/upload/overview#payload-wide-upload-options

also look into nginx configuration

MinSomai avatar Aug 20 '24 14:08 MinSomai

This may be a Vercel error. https://vercel.com/guides/how-to-bypass-vercel-body-size-limit-serverless-functions

nvti avatar Aug 20 '24 15:08 nvti

This may be a Vercel error. https://vercel.com/guides/how-to-bypass-vercel-body-size-limit-serverless-functions

Ohhh, thank you so much!!!

vuquangpham avatar Aug 21 '24 12:08 vuquangpham

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.

github-actions[bot] avatar Sep 06 '24 20:09 github-actions[bot]