Skip to main content
13-Aquamarine
November 11, 2025
Solved

Thing deleted still appears in application logs

  • November 11, 2025
  • 1 reply
  • 426 views

Hello All,

I had created a thing (assigned value stream) programmatically and deleted programmatically (first value stream then thing).
Now, Thing is not visible in composer, there is no ghost entity, no reference in any data table.

 

Still some time it appears in application log as error that thing not found.  Any suggestion to move further.

Best answer by Rocko

https://support.ptc.com/help/thingworx/platform/r10.0/en/index.html#page/ThingWorx/Help/Composer/System/Logs/ScriptErrorLog.html#wwID0EYDR6

https://support.ptc.com/help/thingworx/platform/r10.0/en/index.html#page/ThingWorx/Help/Composer/System/Subsystems/LoggingSubsystem.html#wwID0ENRS5

 

Check boxes "Enable Stack Tracing" and "Enable Script Stack Tracing" in Logging subsystem.

 

Also, when you can't find references, that means the Thing name might be a dynamic parameter to some service, or it could be an external service that wasn't updated trying to access ThingWorx with the old thing name. Could be an edge device or someone using REST API.

1 reply

Rocko
19-Tanzanite
November 11, 2025

couple of options:

1) restart the server

2) recreate the thing with the same name and then check the "referenced by"

3) export your projects to XML and text search for the entity name

4) enable stack trace and check the error log in the file system (the one that isn't listed in Composer)

javed_a13-AquamarineAuthor
13-Aquamarine
November 12, 2025

Thanks @Rocko for your suggestion, I tried below options:
1. Restart does not help,

2. Good Idea, I did it, however there is no reference found.
3. Exported individual project no reference found, exported all the project reference found but some kind of historical not clear. I will try to share screenshot here.
4. Could you please elaborate on this point.

Also, this issue seems intermittent and sometime appears in logs.

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
November 13, 2025

https://support.ptc.com/help/thingworx/platform/r10.0/en/index.html#page/ThingWorx/Help/Composer/System/Logs/ScriptErrorLog.html#wwID0EYDR6

https://support.ptc.com/help/thingworx/platform/r10.0/en/index.html#page/ThingWorx/Help/Composer/System/Subsystems/LoggingSubsystem.html#wwID0ENRS5

 

Check boxes "Enable Stack Tracing" and "Enable Script Stack Tracing" in Logging subsystem.

 

Also, when you can't find references, that means the Thing name might be a dynamic parameter to some service, or it could be an external service that wasn't updated trying to access ThingWorx with the old thing name. Could be an edge device or someone using REST API.