You should both check your iPhone and Mac devices. Open "Setting" on your iPhone and click "Message". And then switch the option to "Off" in a toggle for Message. Wait for a few seconds and then turn on it. You need to operate the same step on your Mac. The text message will update on your Mac after that.