Resources["ContentLoaderFunctions"].Delete() produces a "Read timed out" error
Hello community,
While doing tests on creating/deleting projects, I am trying to use the following function:
let url = '.../Thingworx/' + entity.type + "s/" + entity.name
var params = {
headers: {
"appKey": appKey,
"Content-type": "application/json",
"Accept": "application/json"
} /* JSON */ ,
url: url /* STRING */
};
Resources["ContentLoaderFunctions"].Delete(params)
For some reason though it is SUPER slow (and seems to be causing me to not be able to delete entities manually in the composer at the same time).
I do get the following error in my ScriptLog:
JavaException: java.net.SocketTimeoutException: Read timed out
Eventually though, the entities are deleted and I can see this in the "ConfigurationLog":

Which confirms that the "Administrator" (user used for the AppKey during tests) had deleted the entities.
But what could be the reason for the time out issue?
Thanks,
Jens C.

