run command: /data get entity <playername>
Putting a player name instead of an entity doesn't give the nbt data (jumble of blue and orange text) but instead kicks you from the server.
I don't really know if the client is misinterpreting the data sent or the server decides to terminate the connection due to an "invalid" command.