Hello All, We're getting the following error when ...
# suitecommerce
v
Hello All, We're getting the following error when trying to activate our custom extensions:
Copy code
{
  "type": "error.SuiteScriptError",
  "name": "470382",
  "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": "470382"
  },
  "id": "",
  "notifyOff": false,
  "userFacing": true
}
This error shows at the Templates step of activation. Does anyone know what can be the issue? We do not have any files even close to 10MB in any of our extensions. Can this be an internal issue thrown by the activation script? Is there anything we can do to troubleshoot/resolve it? We will be creating a ticket if we cannot do anything about it.
f
There is a limit of 10MB per string used as RESTlet input or output so I guess your activation is exceeding that limit.
v
We just got our SC 21.1 upgrade on Friday, and we realized that this error started showing up after that. Once we merged our custom theme with the new 2021.1.0 SC base theme, the activation error went away. 🙂