Question: Why is my NetSuite flow getting the following error?
Error: "Failed to create, update/transform record because Module does not exist: /Celigo_Basis.closure.js"
Answer
This error is usually caused by a NetSuite internal script or customization that is:
-
Referencing a Celigo library incorrectly, or
-
Referencing a Celigo library that is no longer available
The current guidance is to remove or disable any internal scripts that reference Celigo libraries.
If you want to identify the exact script causing the issue, create a NetSuite saved search for Server Script Log and filter it for the error text.
Steps to identify the script causing the issue
-
In NetSuite, navigate to Transactions > New Saved Search > Server Script Log.
-
In the Criteria tab, add the following filter:
-
Filter:
Details -
Condition:
contains -
Value:
Module does not exist: /Celigo_Basis.closure.js
-
-
In the Results tab, add the columns needed to identify the script. Include:
-
View -
Title -
Type -
Date -
Time -
User -
Script Type -
Details -
Script : Name
-
-
Click Preview and review the results.
-
Check whether a specific script appears in the results and is associated with the error.
-
If you identify the script, try to undeploy or disable it in NetSuite.
-
Retry one of the failed records or orders and confirm whether it now pushes through successfully in NetSuite.
Expected outcome
If the issue is caused by a deployed script that references Celigo_Basis.closure.js, disabling or undeploying that script should stop the error and allow records to process successfully.