Report this

What is the reason for this report?

What is the limit for Node.js fetch request / response body size and can it change it if needed?

Posted on December 18, 2021

I have an application that converts images into a video file. For a 1 minute video it needs to send 1800 images (canvas.toDataURL()). Their size is ~200Mb in total. I know that many services limit the size of the fetch request/response (Vercel does so to 5Mb). Does DO has a similar limit? Can it be lifted if needed? Thanks in advance!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

In case that you are going to be running this on a Droplet, you would have root access to the server, meaning that you will be able to make any configuration changes needed so it would not be a problem.

You can follow the steps on how to deploy a Node.js Application to a Droplet here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-20-04

Best, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.