Article - CS321502
"Execution of Script terminated after : <~ScriptTimeout> seconds" is seen after executing a Service on ThingWorx Platform
Modified: 23-Sep-2025
Applies To
- ThingWorx Platform 8.5 to 10.0
Description
- ThingWorx Service Times out after 30 seconds
- A custom function that is expected to take an extended period of time to execute (such as waiting on the database) ends up timing out in ThingWorx Platform
- Querying session audit logs via custom endpoint is not working in ThingWorx Platform
-
Fail to batch create multiple things using Thing's service with Timeout error, how to change the service Script Timeout in ThingWorx
- Services running extremely slow and timing out when trying to query for more than 1000 lines
- Getting service timeout while needing to fetch large amount of change data from REST API
- ThingWorx Service fails with the following error shown in Composer
-
Error executing service. Message ::Execution of Script terminated after : <~ScriptTimeout> seconds. Timeout configured for <ScriptTimeout> seconds. - See Script Error Log for more details
-
- ThingWorx Platform ApplicationLog.log located in <ThingworxStorage>\logs show the following:
-
[L: ERROR] [O: c.t.w.Things] [I: ] [U: <User>] [S: ] [P: ] [T: https-jsse-nio-8443-exec-<Thread>] Execution of Script terminated after : <~ScriptTimeout> seconds. Timeout configured for <ScriptTimeout> seconds. [L: WARN] [O: c.t.w.BaseService] [I: ] [U: <User>] [S: ] [P: ] [T: https-jsse-nio-8443-exec-<Thread>] Transaction has been marked as a failure for request /Thingworx/Things/<Entity Name>/Services/<Service Name>
-
This is a printer-friendly version of Article 321502 and may be out of date. For the latest version click CS321502