You need to do some detective work. First, are you testing using Companion or the compiled apk? The compiled app might behave differently. Have you tried both?
You are aware, AI2 apps process code asynchronously and doing so frequently may cause issues in event handlers like the MessageReceived block.
actually a text message under 170 characters length including spaces (for some language alphabets, the length is limited to 160 characters I believe). No message (an empty label) or a message exceeding parameters could elicit "InvalidMessageBody." Text messages on AI2 are restricted to 170 characters or less.
Your code is similar to figure 4-10 so a best guess is that MsgLbl.txt does not contain a message or a message that contains characters that the TextingComponent cannot resolve ... is the text in utf-8 format? If the text is in English does the code work and does not only when texting in your language?
Regards,
Steve