Suddenly, my deployment is failing with the following error:
could not parse form file: http: request body too large
The function "__API" is larger than the 50MB limit. Please consider reducing it.
The last change I made before the failed deploy was a schema change (sanity) that shouldn’t have caused this issue.
This is for ehcn.netlify.app
Thanks for reaching out! Sorry to hear about the issue. Could you provide with your site name (such as
example.netlify.app) or a link to the deploy log where you’re seeing the error? That’ll help us investigate the issue.
Hey Melvin, it is for ehcn.netlify.app. And here is a link: Netlify App
It looks like you were able to resolve the error as I can see your recent deploys have been a success. Do you still need our help?
Hey Audrey. You are correct! If you have any insight on why the following solution worked and perhaps some downsizing tips let me know. But here’s what I did.
I added the following to my netlify.toml file:
node_bundler = "esbuild"
Great stuff @aakkapeddi! The
included_files . Take a look at the file-based configuration doc for details.