Skip to main content
1-Visitor
August 17, 2017
Question

After deleting a thing by script, log full of messages

  • August 17, 2017
  • 1 reply
  • 3297 views

After deleting a thing by script, the remote EMS is still trying to connect and try to send data. This lead to many, many error entries in the log

"Unable to dispatch [ uri = /Things/xxxxx/Services/UpdateSubscribedPropertyValues/]: Entity xxxxx does not exist or is not yet associated with a Thing"

and

"error executing APIRequest Message: Entity xxxxx does not exist or is not yet associated with a Thing, sending ERROR ResponseMessage to caller!".

How to stop these messages?

BTW: It is correct, the xxxxx thing is and shall be deleted!

1 reply

22-Sapphire I
August 17, 2017

Since the EMS is able to connect, it will connect, however maybe it is thinking it is still able to bind.

otoh depending on how your ems is set up, you might be directly trying to send info to a particular thing.

I would recommend restarting Thingworx to see if some of these go away.

Regardless of the associated Thing being deleted though, the EMS will connect since that depends on the appkey not the Remote Thing

5-Regular Member
August 17, 2017

I don't think all of Thingworx needs to be restarted, just the EMS/LSR. I take it you're not stopping the LSR/EMS right?  Can you provide more details about how you have your EMS and LSR setup? Your feedback is useful so I'm curious what you would expect to happen in this scenario. If you stop the LSR I believe the messages will stop. Is that not an option?

wherget1-VisitorAuthor
1-Visitor
August 18, 2017

for more details please see my answer to Pai Chung