mojira.dev
MC-209432

"Cannot send chat message" error message when trying to use a command or send a chat message

Moderator Note

If you are experiencing this issue, it is most likely caused by one of the following:

  • You have disabled online chat in your Xbox Privacy settings. Go there and ensure that "You can communicate outside of Xbox Live with voice & text" is enabled.

  • You have hidden Chat in your chat settings, or disabled all chat except for commands. To fix this, go to "Options → Chat Settings → Chat" and set it to "Shown".

  • You're playing on a modded server that's preventing you from chatting. In this case, contact the server staff for assistance.

If you need any further technical help, please contact 💬 Community Support. This bug tracker is not for support.

When trying to send a chat message or execute a command, the error message "Cannot send chat message" appears and the chat message is not sent.

Linked issues

MC-209238 CANNOT SEND CHAT MESSAGE Resolved MC-209373 "Cannot send chat message" when pressing T or / on multiplayer servers Resolved MC-209690 I cant type. Resolved MC-209729 I cant type, everything I do seems to be a dead end. Resolved MC-210201 Cant Chat In Any Server, Same Message Every Time Resolved

Attachments

Comments 13

that if i type annyting and press enter it says cannot send chet message

 

Please provide a screenshot with your debug screen enabled (F3)

says it on all the server i have

 

3 more comments

This feature is a vanilla feature. The chat.cannotSend message is sent by the net/minecraft/client/MinecraftClient#openChatScreen method (yarn's mapping for 20w51a).

I'm not entirely sure what causes this issue, and it might be a misconfiguration on the user's side or a bug. I assume it's the latter and reopen the ticket, but feel free to close it again.

This sounds like it could be being caused by Microsoft privacy settings.

Please see if community support can assist you:

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

This entire thread and string of duplicates is a little maddening to look through as someone who just encountered the same issue. I, like many other posters, have also verified that my account settings are set to enable all communications and that my in-game chat is ‘shown’. I did not go through account migration, and the realm completely fresh/vanilla with no addons installed. This is not a resolved bug.

After looking at other threads, I have a theory as to what causes this: the game will sometimes fail to retrieve some of your account info, and when it fails it falls back to not allowing it at all. Could be Microsoft’s end not providing enough information about the error, or could be mojang not recognizing the failure/not handling it very well.

In most cases this was reported after account migration, so details probably hadn’t propagated through the whole system yet. In my case, I changed my gamertag earlier in the day which can take 1-3 days to fully propagate. I just waited 24 hours to try again and it works fine now.

linuswillemsen

(Unassigned)

Community Consensus

(Unassigned)

1.16.4

Retrieved