Viraj Shinde
08/17/2021, 4:42 PM{
"type": "error.SuiteScriptError",
"name": "473832",
"message": "The file content you are attempting to access exceeds the maximum allowed size of 10.0 MB.",
"stack": [
"createError(N/error)"
],
"cause": {
"message": "The file content you are attempting to access exceeds the maximum allowed size of 10.0 MB.",
"stack": [
"create(N/file)",
"reduce(/SuiteBundles/Bundle 374045/ExtensionMechanism.Server/CompilersMapReduce/TemplatesCompilerMapReduce.js:241)"
],
"name": "473832"
},
"id": "",
"notifyOff": false,
"userFacing": true
}
This error appears on the “Templates” step of the activation process.
We did a lot of digging in to check if it was an issue with one of our extensions (we have 8 custom extensions) but couldn't find any concrete root cause.
We later realized that if we removed any 1 of the extensions from the activation list, the activation completed successfully.
After some more digging in I noticed that the file shopping-templates_x.js (_x=some number, example: shopping-templates_5.js_) for the failed activation instance was 10.0MB, whereas the same file for the successful activation was 8.57 MB. We tested activations with several combination of extensions, and in all cases where the activation succeeded, the file size was less than but close to 10.0MB.
It seems that the activation process is compiling the templates from our activated extensions into one shopping-templates_x.js file, and since it crosses the 10.0MB limit (Files >10MB cannot be accessed via SuiteScript) when we try to activate all our extensions, the activation is failing.
The file shopping-templates_x.js is located here in the File Cabinet: Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - SCS > SuiteCommerce Standard > extensions.
It will be great if I can get some inputs from experts on this.
P.S.: We're using the latest SuiteCommerce (2021.1.2) and the latest SuiteCommerce Extension Management (2021.1.3)Flo Meilan
08/17/2021, 7:22 PMViraj Shinde
08/18/2021, 8:30 AMViraj Shinde
08/18/2021, 8:33 AMBalaji
08/19/2021, 10:24 AM