Hi guys, I'm getting the error below when a script...
# suitescript
g
Hi guys, I'm getting the error below when a script attempts to run the renderAsString function:
Copy code
{
  "type": "error.SuiteScriptError",
  "name": "UNEXPECTED_ERROR",
  "message": null,
  "stack": [
    "renderAsString(N/render)",
    "renderCheckPDF(/SuiteScripts/Check_Printing/src/PrinteChecks.suitelet.js:671)",
    "suitelet_main(/SuiteScripts/Check_Printing/src/PrinteChecks.suitelet.js:235)"
  ],
  "cause": {
    "type": "internal error",
    "code": "UNEXPECTED_ERROR",
    "details": null,
    "userEvent": null,
    "stackTrace": [
      "renderAsString(N/render)",
      "renderCheckPDF(/SuiteScripts/Check_Printing/src/PrinteChecks.suitelet.js:671)",
      "suitelet_main(/SuiteScripts/Check_Printing/src/PrinteChecks.suitelet.js:235)"
    ],
    "notifyOff": false
  },
  "id": "962126d5-db0b-4693-9633-4c1c62ad6007-2d323032302e30332e3235",
  "notifyOff": false,
  "userFacing": false
}
We have not made any code changes, but it started showing the error after the release 2020.1 Does anyone know if there were any changes to that function? Thanks for your time!