Product Information > JADE Error Messages and System Messages > 31700 through 31899 - Messaging Framework Errors > 31732 - Cannot append to message body

31732   Cannot append to message body

Cause

This error occurs if you attempt to append information to the body of a JadeGenericMessage instance that is incompatible with the format of the message.

In the following example, an attempt is made to append a string to a message by using the appendString method of the JadeGenericMessage class after starting to build the message in the JadeTpls format.

msg.format := "JadeTpls";
msg.appendBodyTuple("name", "wilbur");
msg.appendString("Hello World");

Action

Correct your code.