BIP5339

Severity

20 : Error

Message

Mismatch between message tree and logical definition

Explanation

While writing the message, the message tree did not match the logical structure of the message. The problem was encountered while attempting to write element '<insert_2>' in message set '<insert_1>'.

Response

This problem is usually caused by a badly-structured input message. It can also be caused by a badly-structured output message tree. Check that the structure of the input message matches the logical structure of the message. Check that elements defined as simple elements do not have child elements. If necessary, check that elements occur in the correct sequence, and with the correct number of repeats. If you have modified the message set or message type property in your message flow, check that these are correct.