I am calling a web service using <https.post> meth...
# suitescript
g
I am calling a web service using https.post method and it works well when I use the UI to update the customer data, but when I update the data via CSV import I always get this error:
Copy code
{
   type: "error.SuiteScriptError",
   name: "SSS_CONNECTION_CLOSED",
   message: "Connection Closed",
   stack: [
      "Error\n    at callValidaCliente_WS (/SuiteScripts/INFINITY_RL_validateData_Customer.js:196:31)\n    at Object.doGet (/SuiteScripts/INFINITY_RL_validateData_Customer.js:129:25)"
   ],
   cause: {
      type: "internal error",
      code: "SSS_CONNECTION_CLOSED",
      details: "Connection Closed",
      userEvent: null,
      stackTrace: [
         "Error\n    at callValidaCliente_WS (/SuiteScripts/INFINITY_RL_validateData_Customer.js:196:31)\n    at Object.doGet (/SuiteScripts/INFINITY_RL_validateData_Customer.js:129:25)"
      ],
      notifyOff: false
   },
   id: "",
   notifyOff: false,
   userFacing: true
}
Any ideas how I can fix this?
b
does the same thing occur if you update one record via csv import?