BIP5436

Severity

30 : Severe error

Message

Data Length Error
Element name: <insert_0>
Element type: <insert_1>
Expected data length: <insert_2>
Actual data length: <insert_3>
Data: '<insert_4>'

Explanation

While a TDS message was being written, it was found that the data length was inconsistent with the element definition.

Response

If the element is of binary data type, make sure that the length is the same as the expected length, as defined in the message definition.
If the element is of string data type, make sure the length is not greater than the expected length.