Hi everyone !
Just encountered an issue while using pagecms for my portfolio:
Context
I'm was trying to create a music-only media using the cms.
No issue until I tryed to upload my first music (4.5Mb) :

Note that for a music that is 2.5Mb large there is no problem.
My .pages.yml
Request information
// Payload :
{
"type": "media",
"name": "background-musics",
"content": "<base64 encoded mp3>"
}
Can help, maybe
After some investigation, I deduced that you're using Vercel as the hosting service and apparently they are limiting the upload request size to 4.5Mb.
It's apparently possible to bypass this limitation as described by Vercel it-self:
https://vercel.com/kb/guide/how-to-bypass-vercel-body-size-limit-serverless-functions#upload-directly-to-the-source
Hi everyone !
Just encountered an issue while using pagecms for my portfolio:
Context
I'm was trying to create a music-only media using the cms.

No issue until I tryed to upload my first music (4.5Mb) :
Note that for a music that is 2.5Mb large there is no problem.
My .pages.yml
Request information
Can help, maybe
After some investigation, I deduced that you're using Vercel as the hosting service and apparently they are limiting the upload request size to 4.5Mb.
It's apparently possible to bypass this limitation as described by Vercel it-self:
https://vercel.com/kb/guide/how-to-bypass-vercel-body-size-limit-serverless-functions#upload-directly-to-the-source