`Request entity is too large` when deploying a worker
I'm working on deploying a worker that is fairly large. I'm using open-next to bundle a next.js site.
The worker bundles fine, but I'm not getting a an error message when deploying it
✘ [ERROR] A request to the Cloudflare API (/accounts/xxx/workers/scripts/wesbos/versions) failed.
Request entity is too large [code: 7011]
All the assets seem to upload fine, it's when wrangler goes to upload the worker itself.
The size of the worker is well under the 10mb limit of my plan:
THe largest file is
How do I figure out what is causing this error? I even turned on a proxy to debug the API
The worker bundles fine, but I'm not getting a an error message when deploying it
✘ [ERROR] A request to the Cloudflare API (/accounts/xxx/workers/scripts/wesbos/versions) failed.
Request entity is too large [code: 7011]
All the assets seem to upload fine, it's when wrangler goes to upload the worker itself.
The size of the worker is well under the 10mb limit of my plan:
THe largest file is
handler.mjs which is 37mb (not gzipped). I don't see any documentation on there being a per-file limit. How do I figure out what is causing this error? I even turned on a proxy to debug the API
