Error when I have many images in media folder

The following error is thrown when i have many images in my media folder

Error handling {“branch”:“master”,“action”:“getMedia”,“params”:{“branch”:“master”,“mediaFolder”:“src/assets/images”}}: Invalid string length

How to solve this issue?


I recommend you take a look at Optimize your sites with post processing on Netlify

Large images can take up a lot of space on the server.

I also see you tagged this as Netlify-CMS we are no longer managing this: