Resolving 'invalid message content' errors

Follow