Hitting the 413 (Content Too Large) error with Quick Edit

There is a persistent issue with Quick Edit in V0 for large projects. Basically, if you have a large V0 project, there is a project size limit. Your V0 project can’t be larger than 4.5mb. By project size I am referring specifically to code files - not assets, etc. This comes out to roughly 1200 files. Essentially, V0 sends your entire codebase in one big request to the “/api/blocks” api route when you execute a Quick Edit action in V0. But because there is a size limit on Lambda actions, if your V0 project is large enough it will hit the “413 (Content Too Large)” error. If this is, in fact, the upper limit on V0 projects, that needs to be clearly stated somewhere. If however, it’s a mitigatable issue, it would be great to get a timeline on it. This is probably not the kind of issue the average V0 user is likely to run into, but for anyone building or planning to build a large application, certain architecture decisions will need to be made if there’s a hard limit on V0 project size.

Hi @headline-design, I’ve shared this with our team. I’ll keep you posted.

1 Like