We're facing an issue where our activations are fa...
# suitecommerce
v
We're facing an issue where our activations are failing with the following error:
Copy code
{
  "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
}
We got this issue first 2 weeks ago, then it resolved on its own, but we have been seeing it again since this Monday. 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, the activation completed successfully. After some more digging in I noticed that the file shopping-templates_x.js (x=some number) for the failed activation instance was 10.0MB, where as the same file for the successful activation was 8.57 MB.