Skip to main content
17-Peridot
May 11, 2019
Solved

Thingworx message size too large

  • May 11, 2019
  • 2 replies
  • 1204 views

Hi, 

 

With Java SDK I got error message: 

22:10:38.183 [main] ERROR c.t.c.client.things.VirtualThing - Unable To Update Subscribed Events For DeviceTestThing : Thingworx message size too large: 18873
22:10:41.216 [main] ERROR c.t.c.client.things.VirtualThing - Unable To Update Subscribed Events For DeviceTestThing : Thingworx message size too large: 37541

The message in the event contains about 300 lines,  is there a way to adjust the message size ? 

 

Regards,

Sean 

 

 

Best answer by zyuan1

If you are sending a 300 line string message to TWX, why don't you just separate it to several strings and then send them out?  You can merge these inputs together following the seq # later. It's like sending out a large file through TCP and the content is delivered as smaller packages.

 

Or if it's a text file or others, why don't you sent it through FTP, use the File repository to receive the document.

 

 

2 replies

zyuan15-Regular MemberAnswer
5-Regular Member
May 13, 2019

If you are sending a 300 line string message to TWX, why don't you just separate it to several strings and then send them out?  You can merge these inputs together following the seq # later. It's like sending out a large file through TCP and the content is delivered as smaller packages.

 

Or if it's a text file or others, why don't you sent it through FTP, use the File repository to receive the document.

 

 

seanccc17-PeridotAuthor
17-Peridot
May 13, 2019

@zyuan1 ,

 

Thank you, I separate it into small packets and it works.