Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

When i tried to add "Add-CORS" Assign message policy to an existing API proxy i got this Error repeatedly. I tried to undeploy and re-deploy the App but none worked.

Not applicable

Server Error. Bundle size is greater than the 15 MB. Use large resources at organization/environment level

Solved Solved
0 5 524
1 ACCEPTED SOLUTION

Not applicable

Thanks, @Ashutosh Jha for the question. This is a known issue due to the size of the file.

If your API is based on XML policies and JavaScript, the size of the bundle shouldn't exceed a couple of MBs. However, if your API Proxy is based on Node.js and you're uploading Node.js modules, you may exceed 10 MBs, which should somewhere around that limit. Is there a reason for the size of the bundle?

In order to overcome this issue you have three options:

1) trim down your API Proxy resources from unnecessary files

2) Import resources separately through the Management API

3) try running NPM install on the server through the Management API

CC - @Srini Chebrolu, @oponce@apigee.com, @arghya das, @charles

View solution in original post

5 REPLIES 5