Connection problemsio.netty.handler.codec.EncoderException: String too big
What the log looks like
io\.netty\.handler\.codec\.EncoderException: String too big \(was \d+ characters, max \d+\)
How to fix it
- Check the stack trace lines directly beneath `EncoderException` in your log to see which packet failed (such as `ClientboundPlayerChatPacket`, `ClientboundSoundPacket`, or recipe sync).
- If players get kicked while joining a modded server, install **Packet Fixer** (or **XL Packets**) on both the server and client to safely raise the 32,767-character string limit.
- Update mods that generate massive tag-based recipes (for example, update TechReborn past 5.3.4 if `Recipe output string is too big` appears in the console).
- If the error occurs when activating a command block with `/say` (max 256 characters), replace the command with `/tellraw @a {"text":"..."}` to bypass the plain-chat string limit.
- If a specific block or item triggers a 32,767+ character error on a creative or public server, remove the corrupted block/player inventory data and install an anti-exploit NBT filter plugin.
| Loaders | Forge, Neoforge, Fabric, Quilt, Vanilla, Server |
|---|
| Severity | Breaks something |
|---|
| Category | Connection problems |
|---|
Check your own log