Product Information > JADE Error Messages and System Messages > 31700 through 31899 - Messaging Framework Errors > 31797 - Body must be empty for first appendBodyTuple() call

31797   Body must be empty for first appendBodyTuple() call

Cause

This error occurs if the appendBodyTuple method of the JadeGenericMessage class is called when the body of the message contains binary data either by using the appendBinary, appendString, appendStringAsUtf8, or appendStringUtf8 methods or directly assigning a value to the body property.

Action

Do not call the appendBinary, appendString, appendStringAsUtf8, or appendStringUtf8 methods or assign to the body property if you intend to call the appendBodyTuple method.