9 months ago
I couldn't upload a file for some reason, I guess it was too large, is there a way I can set maximum payload size to 2GB for my project?
22 Replies
9 months ago
Railway doesnt actually have any size limits that I know of, I've uploaded and downloaded 50gb files before. It's likely a configuration with the server you're running
9 months ago
What web framework?
When you’re uploading files that are more than 500mb they can corrupt in transit
9 months ago
BODY_SIZE_LIMIT variable, default is 512kb
9 months ago
Assuming you’re using Node adapter
9 months ago
9 months ago
Railway variable
9 months ago
Yep. And the docs do say.
9 months ago
And don’t use exactly 2G if you’re trying to send a 2G payload
9 months ago
Make it 2.2
9 months ago
!s
Status changed to Solved dev • 9 months ago