Parse Error formidable librairy
Im still facing this issue with Strapi, im in pro plan
The request is about, the fact that im sending multiple photo and sometimes with that multiple video in a formData
Is this related to my code or the fact that too many data are send ?
thx in advance!
21 Replies
Project ID:
N/A
N/A
this is a code error, nothing to do with Railway itsself
you've said in previous threads that you get this error with all different kinds of file sizes, so I doubt you are running into the 5 minute max POST time for railway, and thalles suggested you look into returning a signed S3 url for the client to upload the file directly to, and I agree that you should definitely look into doing just that
Yes i just found out what the real issue is : Too many files in the POST and its take to much time so the server reject the request so it fail
One thing, i have already data in my database and a S3 bucket for all my photos and videos
I need to save my database to prevent lost all the data
Do you have a documentation on how to do that without lost every data already in it
you just wanna backup your database on a set schedule?
if the set schedule prevent me to go on AWS save manually so yes, i wanna do that
I think this is what you are asking for? https://blog.railway.app/p/automated-postgresql-backups
Ok thx, if i do that will i lost my current data ?
And since i already have a bucket for my photo and video, do i need to close it ?
no, you create a new bucket specifically for the backups
this is all assuming you are asking about backing up your database
Ok got it ! thx again brody !
no problem π
OK do everything on the docs (PS: the docs need a little update but its manageable)
After clicking on Run now => nothing happening, no error, everything is OK but see no change on AWS
that blog post i linked does not tell you to use railway's native cron
internally it uses node cron
Ok, i remove the config cron in the settings and change the cron variable in Variable tab
How can i manually trigger a save of the database ?
it doesnt run a backup on start by default, but you can enable that with a
RUN_ON_STARTUP
service variable set to true
ok gonna try that, Thx!
It work like a charm, thx
About the error show in the picture, should i do something or it's to the railway team to maange that ?
its open source, if you wanna update the aws sdk to v3 railway would happily accept a pr
I accept the challenge, thx again for your time
no problem π