BIP5345

Severity

20 : Error

Message

CWF Worker: The tree contains an illegal choice element.
Message name: '<insert_0>'
Element name: '<insert_1>'

Explanation

The CWF worker cannot handle certain types of elements (those for which the length depends on the actual value of the message) within a 'choice' element. This error indicates that the CWF Worker has encountered such elements and cannot proceed with parsing or writing.

Response

Redesign the message in question so that its 'choice' elements do not contain the illegal physical types (null, null terminated string, length encoded string 1 and length encoded string 2) or use a different wire format.